1, gzip, gzip is the abbreviation of GNUzip, which is a file compression program of GNU free software. It was developed by Jean-loupGailly and MarkAdler. Gzip compression file name: zip or gz, gzip decompression command: unzip.
2.bzip2, bzip2 is a lossless compression software based on Burrows-Wheeler transform, and its compression effect is better than the traditional LZ77/LZ78 compression algorithm. Bzip2 compression file name: bz, Bzip2 decompression command; bzip2 -d .
3. Unzip the text.zip, the syntax is: unzip [-cflptuvz] [-agcjlmnoqsvx] [-p] [zip file] [file] [-d] [-x <; File >] or unzip [-Z], unzip the compressed file text.zip in the current directory.
Extended Data linux Decompression zip File Command Parameters
-c Displays the result of decompression on the screen and converts the characters appropriately.
-f Update existing files.
-l displays the files contained in the compressed file.
-p is similar to the -c parameter, which will display the decompressed results on the screen without performing any conversion.
-t Check whether the compressed file is correct.
The -u parameter is similar to the -f parameter, but in addition to updating the existing file, other files in the compressed file will also be decompressed into the directory.
References:
Baidu Encyclopedia-Decompression