In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the use of linux's compress command unix file compression command, I hope you will learn a lot after reading this article, let's discuss it together!
The compress command is a fairly old unix file compression directive. Compressed files are marked with a .Z extension to distinguish uncompressed files. Compressed files can be unzipped with uncompress. If you want to compress several files into one compressed file, you must first tar the files and then compress them. As gzip can produce a better compression ratio, most people have changed to gzip as a file compression tool.
Syntax format: compress [parameters]
Common parameters:
C output the result to the standard output device (usually the screen)-f forces the file to be written, if the destination file already exists, it will be overwritten (force)-v the message executed by the program will be printed on the screen (verbose)-b sets the upper limit on the number of common strings, in bits, the value that can be set is 9 to 16 bits. Since the higher the value, the more common strings that can be used and the greater the compression ratio, it is common to use the default value of 16 bits (bits)-d to extract the compression file-V to list version messages.
Reference example
Compress the file:
[root@linuxcool ~] # compress abc.h
Extract the file:
[root@linuxcool] # compress-d abc.h.Z
Compress according to the specified compression ratio:
[root@linuxcool] # compress-b 7 abc.h
Force compressed folders:
[root@linuxcool] # compress-rf / home/abc/ has finished reading this article, I believe you have some understanding of using linux's compress command unix file compression command, want to know more about it, welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.