In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of the use of Linux's bzip2 command, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe you will gain something after reading this Linux bzip2 command. Let's take a look at it.
Linux commonly used command bzip2 command is the .bz2 file compression program, 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.
Syntax bzip2 [- cdfhkLstvVz] [--repetitive-best] [--repetitive-fast] [- Compression level] [File to be compressed] parameters:
-c or-stdout sends the results of compression and decompression to standard output.
-d or-decompress performs decompression.
When-f or-force bzip2 compress or decompress, 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 unzipped. 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 Murphy 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 if there are repeated data in the file, you can use this parameter to speed up the execution.
-the block size at which the compression level is compressed.
Decompress the .bz2 file with an example
[root@ziqiangxuetang.com ~] ``# bzip2-v temp.bz2 / / unzipped files display detailed processing information compressed files
[root@ziqiangxuetang.com ~] ``# bzip2-c a.c b.c c check file integrity
[root@ziqiangxuetang.com ~] ``# bzip2-t temp.bz2 on "what is the use of Linux's bzip2 command" this article is introduced here, thank you for reading! I believe you all have a certain understanding of the knowledge of "what is the use of Linux's bzip2 command". If you want to learn more, you are welcome to follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.