Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the functional syntax and parameters of Linux Bzip2

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article focuses on "what are the functional grammars and parameters of Linux Bzip2". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn what are the functional grammars and parameters of Linux Bzip2.

Bzip2 has a higher compression ratio, but has a very significant time overhead, both during compression and decompression. He concluded that bzip2 should be used with caution when frequent decompression is needed.

Function description: .bz2 file compression program.

Syntax: bzip2 [- cdfhkLstvVz] [--repetitive-best] [--repetitive-fast] [- Compression level] [File to be compressed]

Note: bzip2 uses a new compression algorithm, the compression effect is better than the traditional LZ77/LZ78 compression algorithm. If no parameters are added, bzip2 will produce a .bz2 compressed file after compressing the file and delete the original file.

Parameters:

-c or-- stdout sends the results of compression and decompression to standard output.

-d or-- decompress performs decompression.

When-f or-- force bzip2 compresses or decompresses, if the output file has the same name as the existing file, the default will not overwrite the existing file. To override, use this parameter.

-h or-- help displays help.

-k or-- keep bzip2 deletes the original file after it is compressed or decompressed. To keep the original file, use this parameter.

-s or-- small reduces the amount of memory used when the program is executed.

-t or-- test tests the integrity of the .bz2 compressed file.

Detailed information is displayed when-v or-- verbose compresses or decompresses the file.

-z or-- compress enforces compression.

-Lmam Murray license

-V or-- version displays version information.

Repetitive-best if there are repeated data in the file, you can use this parameter to improve the compression effect.

-- repetitive-fast can use this parameter to speed up execution if there are repeated data in the file.

-the block size at which the compression level is compressed.

At this point, I believe you have a deeper understanding of "what are the functional grammars and parameters of Linux Bzip2?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report