May 2013
Beginner to intermediate
384 pages
7h 40m
English
gzip is a commonly used compression format in the GNU/Linux platform. It is one of the utilities (such as gzip, gunzip, and zcat) that handle gzip compression. However, gzip can be applied only on a single file or data stream. This means that it cannot archive directories and multiple files. Hence, we must first create a tar archive and compress it with gzip. Let's see how to operate with gzip.
gzip can be used both to compress files and decompress them back to the original:
gzip use the following command:$ gzip filename $ ls filename.gz
gzip compressed file as follows:$ gunzip filename.gz $ ls file
Read now
Unlock full access