Gzip in Centos (Linux)

For the Gzip command,

gzip filename.ext

will be compressed and saved as filename.ext.gz

gunzip filename.ext.gz

The filename.ext.gz is deleted and replaced with filename.ext

gzip filename.gz file1 file2 file3

will compress file1, file2, file3 and put them in filename.gzip.

Leave a Reply

Your email address will not be published. Required fields are marked *