So, here’s another one of my posts where I describe how to do a painfully easy thing, simply because it’s the first time I’ve ever done it. Today it’s How to Compress a File Using bzip2!
bzip2 [-options] [filename]
Options are described here. But if you are not worried about options and want to use the default, it’s this easy:
Unzipping is easy too:
bunzip2 superfile.foo.bz2 or
bzip2 -d superfile.foo.bz2.