Call us Toll-Free:
1-800-218-1525
Live ChatEmail us

 Sponsors

How to unzip / untar a file

Adrian Singer, 08-26-2008
If a file ends in .zip (for example, file.zip) type:
unzip file.zip

If a file ends in .tar (e.g., file.tar) type:
tar -xvf file.tar

If a file ends in .gz (for example, file.gz) type:
gzip -d file.gz

If a file ends in .tar.gz (e.g. file.tar.gz) type:
gzip -d file.tar.gz
and then
tar -xvf file.tar

If a file ends in .tgz (e.g. file.tgz) type:
tar -xvzf file.tgz

If a file ends in .bz2:
bzip2 -cd files.tar.bz2 | tar xvf -

Michel Nadeau, 08-27-2008
You can use `tar xvfz`for both .tgz and .tar.gz files. The .tgz extension is an abbreviation for .tar.gz.

Joseph, 07-09-2009
How can I ope a file tmi_20080101v4.gz;
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

 Comments
Post your comments












Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.



About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions