Ubuntu commands

File & directory commands

1.  cd /var/www

2. cd ~/Desktop

3. cd ..

Zip:

Note file is a file name for a folder

create tar package:

1. tar cf file.tar file

extract tar package:

2. tar xf file.tar

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s