Frequently used unix commands

Creating a tar.gz file:

tar -pczf name_of_your_archive.tar.gz /path/to/directory

Extract a tar.gz file:

tar -zxvf backup.tar.gz

Leave a Reply

Your email address will not be published. Required fields are marked *