1, the Windows system and the Linux system compressed files only the ZIP format is universal
2, Windows system can decompress almost all of the Linux compression format
3. Linux compression instructions
GZIP Instructions
Format:
File name for gzip compression
Description
The compressed file name is automatically called the original file name. gz
Gzip can only compress, unzip files, cannot manipulate directories, do not keep source files
Gzip–d or Gunzip Decompression
TAR directive
Format:
Compressed TAR–ZCVF file or directory with compressed name
Unzip the file name of TAR–ZXVF decompression
Description
Compressed filenames are often called. tar.gz
-C Packaging
-V Show More information
-F Specify File name
-Z Do you have the properties of gzip at the same time? i.e. do I need to compress or decompress with gzip?
-X Unpack the package
The file name is generally used after compression. tar.gz End
Zip instructions
Format:
Compress zip compressed file name files or directories
Unzip the zip file name
Description
Compressed filenames are often called. zip
Zip-format files are common on Windows systems and Linux systems
If the compressed directory is prefixed with the-R parameter
bzip2---gzip the Upgrade
Format:
Compression TAR–CJF file name . tar.bz2 Files or directories
Unzip TAR–XJF file name . tar.bz2
Description
Compressed filenames are often called. tar.bz2
-K Keep Original file
-j : Do you have both bzip2 's properties? i.e. is it necessary to compress with bzip2 ?
Other parameter meanings see tar directive
Linux compression instructions