"The only way of finding the limits of the possible is by going beyond them into the impossible." -
Arthur C. Clarke

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

5 Responses to “How to unzip a file in Linux”

  1. Great tip, thanks.

    felix

  2. Thanks for the good information, it helped me.

    srikanth

  3. Спасибо за пост! Добавил блог в RSS-ридер, теперь читать буду регулярно..

    fliniLobalify

  4. But how to extract zip files and as well rar files

    thanks

    casa annonces

  5. admin

Leave a Reply