Command
gzip
Explanation
gzip is used to compress the files. It compresses the files.
Examples
Compress file
gzip file.txt
Decompress file
gzip -d file.txt.gz
gzip
gzip is used to compress the files. It compresses the files.
Compress file
gzip file.txt
Decompress file
gzip -d file.txt.gz