gunzip Command - Decompressing GZIP format files

You can unzip the file in GZIP format with the gunzip command.

gunzip FileName

The extension of GZIP format file names is generally ".gz".

This is a sample to unzip the file with gunzip.

gunzip foo.gz

Use the gzip command to compress a GZIP format file.

The tar command can also be decompressed in GZIP format, so it is more common to extract and decompress the directory using the tar command option. It is a target.

tar xfzv project.tar.gz

Associated Information