- . zip Format compression
- Zip compressed file name source file
- Zip-r compressed file name source directory
- . zip Format Decompression
- . gz format Compression
- Gzip Source files
- Compress files in. gz format, the source file disappears
- Gzip-c source files > Compressed files
- Compressed to. gz format, source files reserved
- Gzip-r Directory
- Compress all sub-files in the directory, but cannot compress the directory
- . gz Format Decompression
- gzip-d Compressed Files
- Gunzip Compressed Files
- TAR-CVF package file name source file
- -C Packaging
- -V Display procedure
- -f Specifies the file name after packaging
- TAR-XVF Package file name
- . tar.gz compression format
- In fact, the. tar.gz format is packaged in. tar format and then compressed into. gz format
- TAR-ZCVF compressed package name. tar.gz Source File
- -Z compression to. tar.gz format
- TAR-ZXVF compressed package name. tar.gz
Common compression commands in Linux