What is bz2 on linux




















Integrity in the sense the bz2 file is a valid file or not. You can do so using below command. If the file is valid then you will get no output. But if the bz2 file is not a valid file you will get error. You can check content of a compressed file without extracting it. Create a personalised ads profile. Select personalised ads. Apply market research to generate audience insights. Measure content performance. Develop and improve products.

List of Partners vendors. Tim Fisher. VP and General Manager, Lifewire. Facebook Twitter LinkedIn. Updated on June 19, Tweet Share Email.

How do I create a BZ2 file? Was this page helpful? Thanks for letting us know! Email Address Sign up There was an error. Please try again. Save my name, email, and website in this browser for the next time I comment.

Toggle navigation. Related posts:. How to Touch All Files in Directory. How to Debug Shell Script. On the other hand, decompressing a file s means restoring data in the file s to its original state.

There are several file compression and decompression tools available in Linux such as gzip , 7-zip , Lrzip , PeaZip and many more. In this tutorial, we will look at how to compress and decompress. Important : By default, bzip2 deletes the input files during compression or decompression, to keep the input files, use the -k or --keep option.

In addition, the -f or --force flag will force bzip2 to overwrite an existing output file. You can as well set the block size to k upto k , using -1 or --fast to -9 or —best as shown in the below examples:. The screenshot below shows how to use options to keep the input file, force bzip2 to overwrite an output file and set the block size during compression.

To decompress a. Note : The file must end with a.



0コメント

  • 1000 / 1000