Ubuntu Console File Managers ...

Command line

Create a new directory

sudo mkdir -p /var/www

Delete a directory

sudo rm -r /var/www

Copy folder

sudo cp -avr /var/www/test.com /var/www/you_site.com

Copy file

sudo cp /var/www/test.com/public_html/index.html /var/www/you_site.com/public_html/index.html

Create text file

sudo nano /var/www/test.com/public_html/index.html

Rename file

sudo mv /var/www/test.com /var/www/you_site.com

Folder and File permissions

sudo chmod -R 755 /var/www
sudo chmod -R 777 /var/www
sudo chown -R $USER:$USER /var/www

Compress a whole folder in Linux

Compress archive using gzip program in Linux

cd /home/username
tar -zcvf www.tar.gz /var/www

Extract files from given archive

cd /home/username
tar -zxvf www.tar.gz -C /var/www


Or install Console File Managers

sudo apt-get update
sudo apt-get install mc

Run with command