There are so many ways to extract zip or tar.gz or tar.bz2. You can use GUI or command line. In this tutorial, I would like to show you how to extract compressed files using command line.
Extract zip file:
unzip file_name.zip
Extract tar.gz file:
tar -xzf file_name.tar.gz
or
tar -xvzf file_name.tar.gz
Extract tar.bz2 file:
tar -xjf file_name.tar.bz2
or
tar -xvjf file_name.tar.bz2
Notice in tar command, there is -v parameter. It tells the application to show the extracted files (verbose).
Those are the standard way to extract. If you need more functionality, just use man command.
man unzip
man tar
Related posts:








March 4th, 2011 at 11:59 am
what I want to know is how to uncompress a file that has a (tar.gz.bz2) ending because when I just put in the tar.gz part without the bz2, I get a particle file opened.
April 18th, 2011 at 9:36 am
Thank you for the info. Another advanced tool of extracting zip files is here http://opentarfile.com
June 10th, 2011 at 3:27 am
THX man…