December 12th, 2003, 08:22 AM
Geting gzip to work
Seems I cannot unzip tar.gz files in RH
I try to decompress but it just removes the gz
gzip -d myfile.tar.gz
there are no directoryes or files extracted and the origional file myfile.tar.gz now becomes just myfile.tar
Why is this? What am I missing?
December 12th, 2003, 08:36 AM
Hmm nothing. You're only unzipping the archive, not untarring it. Try
tar xzvf archive.tar.gz
at the prompt and it should work. In the case of bzip2 [.bz2] try
tar xjvf archive.tar.bz2
Hope it helps!
December 13th, 2003, 12:11 AM
That worked. I had read part of the man page for gzip and some made sence but I guess I thought decompress would unpack it. So instead of using gzip i guess I would use tar.
I realy apreciate the help.
December 13th, 2003, 12:48 AM
you can also view gzipped or bzipped files without decompressing with gzcat bzcat or zmore
Do unto others as you would have them do unto you.
The international ban against torturing prisoners of war does not necessarily apply to suspects detained in America\'s war on terror, Attorney General John Ashcroft told a Senate oversight committee
-- true colors revealed, a brown shirt and jackboots