Linux Tar and Zip

Untar tar.gz
tar -xvzf filename

Tar tar.gz
tar -pczf filename folder/

Untar tar.bz2
tar -xvjf filename

Unzip
unzip filename

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.