All of the commands below assume that you are within the same directory that the compressed file is in.
Type ls {enter} to be sure
How to unzip a .tar.gz/.tgz file?
To extract .tar.gz or .tgz files, run the following command in a terminal:
tar -zxvf file.tar.gz (or file.tgz)
This will normally create a new directory based on the filename. If you want to extract a filename called file.tar (without the .gz) simply run:
tar -xvf file.tar
For more information, in a terminal, type man tar
http://www.linuxhelp.net/newbies/#unzip
Leave a Reply