The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"
tell 729 commands, 1935 examples
Learn about the Linux system's reference books, desk book, encountered the command or command not understand the options can be found
Strive to publish content every day
This article comes from " airfish2000 "blog, more commands to view blogs:
http://airfish2000.blog.51cto.com/10829608/1884120
Compress command
use the Compress command to compress or decompress the Compress file.
Command syntax:
Compress [ options ] [ file ]
The meanings of the options in the command are as follows is shown.
table compress command options meaning
Options |
Meaning |
-b < compression efficiency > |
compression efficiency is a value between 9~16 16 |
-C |
Output the compressed file to the standard output device without deleting the original file |
-D |
Unzip the file |
-F |
Force compression or decompression |
-R |
Recursively handles all files and subdirectories under the specified directory |
-V |
Display compression Statistics |
Example : Compresses the/root/install.log file.
[Email protected] ~]# Compress/root/install.log
Example : Unzip the/root/install.log.z . zip file.
[Email protected]~]# compress-d/root/install.log.z
Example : Compresses the/root/install.log file and does not delete the original file .
[Email protected]~]# compress-c/root/install.log>/root/install.log.z
Example : Compresses the/root/install.log file and displays the compression scale.
[Email protected] ~]# compress-v/root/install.log
/root/install.log:--Replaced with/root/install.log.zcompression:67.68%
The compression ratio is 67.68%, which means that the compressed file capacity is only 32.32% of the source file
Example : Compresses the/root/install.log file, specifying A compression efficiency of .
[Email protected] ~]# Compress-b 12/root/install.log
Example : compresses the/root/install.log file if the compressed file already exists, forcing compression to execute.
[Email protected] ~]# compress-f/root/install.log
This article is from the "airfish2000" blog, make sure to keep this source http://airfish2000.blog.51cto.com/10829608/1884120
Compress Command--linux command application of large dictionary 729 commands interpretation