Zip file with Gzip

Zip a file

gzip -c filename > filename.gz

Unzip a file

gzip -d filename.gz

Ref

Last updated