bzip2 do?compress or decompress files with the Burrows-Wheeler algorithm (.bz2).
▸ Explain your own bzip2 command →$ bzip2 -k big.log
$ bzip2 -d archive.bz2
| -1 | use the smallest block size — least memory |
| -9 | use the largest block size — best compression (default) |
| -z | compress (the default action) |
| -d | decompress |
| -k | keep — don't delete the input file after (de)compressing |
| -f | force overwrite of existing output files |
| -c | write to standard output; leave files unchanged |
| -t | test the integrity of the compressed file |
| -v | verbose — show the compression ratio for each file |
| --decompress | decompress |
| --keep | keep — don't delete the input file |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.