The bzip2 utility

The bzip2 utility is a relatively new compression package that is gaining popularity, especially
when compressing large binary files. The utilities in the bzip2 package are:

bzip2 for compressing files
bzcat for displaying the contents of compressed text files
bunzip2 for uncompressing compressed .bz2 files
bzip2recover for attempting to recover damaged compressed files

By default, the bzip2 command attempts to compress the original file, and replaces it with the
compressed file, using the same filename with a .bz2 extension:

$ bzip2 iptables
$ ls -l iptables*
-rw-r–r– 1 buddy buddy 1477 Dec 15 16:48 iptables.bz2

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.