Linux bunzip2 Command
The Linux bunzip2 command is a decompression program for .bz2 files.
bunzip2 can decompress compressed files in .bz2 format. bunzip2 is actually a symbolic link to bzip2; running bunzip2 has the same effect as bzip2 -d.
Syntax: bunzip2 [-fkLsvV][.bz2 compressed file]
Parameters:
- -f or --force During decompression, if the output file has the same name as an existing file, the existing file is not overwritten by default. To overwrite it, use this option.
- -k or --keep After decompression, the original compressed file is deleted by default. To keep the compressed file, use this option.
- -s or --small Reduce the amount of memory used when the program runs.
- -v or --verbose Display detailed information when decompressing files.
- -L, --license, -V or --version Display version information.
Example
Decompress a .bz2 file
# bunzip2 -v temp.bz2 //解压文件显示详细处理信息
Linux Command Reference