Linux unzip magento zip file command

First go to your public_html location through terminal like this

public_html]$ cd project foldername;

public_html]$ cd public_html;

public_html]$unzip magento- -x;

I installed Magento

after that all files will be unzipped under “Public_html/magento”. then run the below command to move files from magento folder to public_html folder.

public_html]$mv magento/* .

After move all files , run remove command to remove magento folder.