Gzip & Gunzip

Gzip command is a utility that is used to compress and decompress files to reduce their size. The name "gzip" stands for "GNU zip".

Compress

gzip example.txt

Decompress

gzip -d example.txt.gz
gunzip example.txt.gz

Last updated