Compress Command--linux command application of large dictionary 729 commands interpretation

Source: Internet
Author: User

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

Large-Scale Price Reduction
  • 59% Max. and 23% Avg.
  • Price Reduction for Core Products
  • Price Reduction in Multiple Regions
undefined. /
Connect with us on Discord
  • Secure, anonymous group chat without disturbance
  • Stay updated on campaigns, new products, and more
  • Support for all your questions
undefined. /
Free Tier
  • Start free from ECS to Big Data
  • Get Started in 3 Simple Steps
  • Try ECS t5 1C1G
undefined. /

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.