bunzip2
file compressionLinux
The bunzip2 command is one of the most frequently used commands in Linux/Unix-like operating systems. bunzip2 Decompress files compressed with bzip2
Quick Reference
Command Name:
bunzip2
Category:
file compression
Platform:
Linux
Basic Usage:
bunzip2 [options] [arguments]
Common Use Cases
Syntax
bunzip2 [OPTIONS] [FILE...]
Options
Option | Description |
---|---|
-c, --stdout |
Decompress to standard output |
-d, --decompress |
Force decompression mode |
-f, --force |
Force overwrite of output files |
-k, --keep |
Keep input files after decompression |
-s, --small |
Use less memory (at the expense of speed) |
-t, --test |
Test compressed file integrity |
-v, --verbose |
Show verbose output |
-L, --license |
Display software license |
-V, --version |
Display version information |
-q, --quiet |
Suppress all warnings |
Examples
How to Use These Examples
The examples below show common ways to use the bunzip2
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
bunzip2 file.bz2