Linux bunzip2 Command
The Linux bunzip2 command is a decompression program for .bz2 files.
bunzip2 can decompress files in the .bz2 format. bunzip2 is actually a symbolic link to bzip2, and running bunzip2 is equivalent to running bzip2 -d.
Syntax: bunzip2 [-fkLsvV][.bz2 compressed file]
Parameters:
-f or --force: When decompressing, if the output file has the same name as an existing file, it will not overwrite the existing file by default. Use this parameter to overwrite.
-k or --keep: After decompression, the original compressed file is deleted by default. Use this parameter to keep the compressed file.
-s or --small: Reduces the amount of memory used by the program during execution.
-v or --verbose: Displays detailed information while decompressing files.
-L, --license, -V or --version: Displays version information.
Example
Decompress a .bz2 file
# bunzip2 -v temp.bz2 // Decompress the file and display detailed processing information