FiveFeet

gzip and gunzip

  • Uncompressing a gzip File Using gunzip (to uncompress a gzip file)

gunzip filename.txt.gz
The result of this operation is a file called filename.txt. By default, gunzip will delete the filename.txt.gz file.

  • Compressing a File Using gzip (to compress a file using gzip)

gzip filename.txt
The result of this operation is a file called filename.txt.gz. By default, gzip will delete the filename.txt file.