Here are two ways to decompress from the terminal in Linux:

Using tar to decompress from terminal

tar -zxvf archive.tar.gz

Since -z is using gzip, this command is the same as:

Using gunzip to decompress

gunzip < archive.tar.gz | tar -xv
Categories: Snippets

0 Comments

Leave a Reply

Avatar placeholder

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