Click to See Complete Forum and Search --> : How do I uncompress a gz file ?


Donovan
11-29-2000, 12:27 PM
Hi, I have file.txt.gz that I want to uncompress to file.txt.

What should I type at telnet prompt to do this ?

Thanks,
Donov

pbharris
11-29-2000, 12:28 PM
gzip -d filename
or gunzip filename

mangeli
11-29-2000, 12:34 PM
Originally posted by pbharris:
gzip -d filename
or gunzip filename


gunzip -dc filename.gz also works... (This creates a directory for the file you just unzipped, so that you don't have all the make and config files piling up. The d keeps the .gz file instead of trashing it in case you need to unzip it again.)