? Gzip Compress (unzip) file or directory, zip file suffix to gzbzip2 compressing (extracting) files or directories with a compressed file suffix of bz2tar file, directory hit (solution) packagegzip command
Command format:
? gzip [option] compress (unzip) the file name
Parameters:
?-d Unzip the compressed file.?-l for each compressed file, display the size of the compressed file, the size of the uncompressed file, the compression ratio, the name of the uncompressed file?-V for each compression and decompression of the file, the display file name and compression ratio.-num Adjust the speed of compression with the specified number num,- 1 or--fast represents the fastest compression method (low compression ratio), 9 or--best represents the slowest compression method (high compression ratio). The system default value is 6------------------------------------------------------------------------------------------------------------------ --------------------bzip2 Command
Command format:
bzip2 [-cdz] File name
Parameters:
?-D: Uncompressed parameters?-Z: Compressed parameters?-num Adjusts the speed of compression with the specified number num, 1 or--fast represents the fastest compression method (low compression ratio), 9 or--best represents the slowest compression method (high compression ratio). The system default value is 6------------------------------------------------------------------------------------------------------------------ --------------------tar command
Command format:
? tar [-CXZJVF] compress the name of the packaged document to back up the directory
Parameters:
?-C: Create an archive parameter directive?-X: Unlocks a compressed file parameter directive!?-z: Do I need to use gzip compression??-J: Do I need to compress with bzip2??-V: Compress the process of displaying files?-F: Use the file name, immediately after F to receive the filename?-TF: View File inside the document file
08. Backup Compression Command