bzip2 [options] file...Arguments explained
- Options adjust output or behavior.
- Arguments name the files, services, hosts, or values the command should work with.
Common examples
bzip2 -k data.logCreates data.log.bz2 and keeps the original.
tar -cf - project | bzip2 > project.tar.bz2Creates a bzip2-compressed tar archive.
| Field | Details |
|---|---|
| Command | bzip2 |
| Category | Compression and Archives |
| Primary use | Compresses files using bzip2. |
| Syntax | bzip2 [options] file... |