gzip [Command]

gzip [Command]



Command gzip

gzip – command compress one or more files.

Syntax

gzip [options] files

Options

-c displays the output file to standard output and keeps the original file.
-d decompresses the file (same as gunzip).
-h displays help for the team.
-l displays the contents of compressed file.
-n does not preserve the original name and timestamp.
-r recursively compresses files in all subdirectories.
-v generates detailed output.
-V displays the version number.

Description

The command gzip compresses files using the compression algorithm Lempel-Ziv LZ77. After compression gzip file replaces the original file to a compressed version and adds to file name .gz.

Leave a Reply

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