You can use the gzip command to compress the file in GZIP format.
This is a sample to compress a file with gipz.
The extension of the compressed file name will be ".gz".
Use the gunzip command to unzip the GZIP format file.
The tar command can also be compressed in GZIP format, so it is more common to archive and compress the directory using the tar command option. is.
tar cfz project.tar.gz project