How to unpack compressed files with the various different extentions.
.tar.gz
To uncompress a .tar.gz file, execute the following command:
tar -xzfv filename.tar.gz
.gz
To uncompress a gzip file, execute the following command:
gunzip filename.txt.gz
.tar
To uncompress a tar file, execute the following command:
tar -xvf example.tar
streaming tar to another server
.bz2
To uncompress a bzip2 file, execute the following command: bunzip2 filename.txt.bz2
.zip
To uncompress a zip file , execut the following command:
unzip filename.zip