Gzip & Gunzip

Last modified: 2023-03-28

Archive

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