Web Hosting Talk







View Full Version : How to uncompress tgz files??


Pluto
10-30-2001, 10:17 AM
How do uncompress tgz files under linux shell??

Any direction would be appreciated...

JTY
10-30-2001, 10:25 AM
tar zxvf <file>

XTStrike
10-31-2001, 06:40 AM
dont you just love the simplicity of linux :D

I mean Windows is just too complicated double clicking on the files to unzip them, hehe

~~
On a helpful topic, if its got the following extention:

filename.tar.gz

you may need to "gunzip" it first, I normally:

gunzip filename.tar.gz
tar zxvf filename.tar
~~

Im no pro with linux but the above normally works for me

dektong
10-31-2001, 06:51 AM
Originally posted by xtstrike
gunzip filename.tar.gz
tar zxvf filename.tar


After gunzip, just do 'tar -xvf filename.tar' without the option '-z' ... It's just superfluous :)

cheers,
:beer:

bobcares
11-27-2001, 02:54 PM
Hi!

Here's what I usually do
gzip -dc filename | tar -xvf-
Works for both .tar.gz and .tgz files.

Have a great day :-)

Regards
Amar

Jag
11-27-2001, 08:32 PM
Hello Amar!

bobcares
11-28-2001, 05:12 AM
Hi Jag,
You seem to be a regular here.... :)

Have a great day :)

Regards
Amar

P.S. One question if you don't mind. How did you get such a title on WHT.... It's really cool... :)

Jag
11-28-2001, 11:26 AM
trade secrets ;) , the profile here normally only allows like a 20 or 25 char limit for custom titles... normally. ;)