Tuesday, February 15, 2011

Linux / Unix Command: bzip2

Command:

bzip2, bunzip2 - a block sorting file compresser


Description:

bzip2 compresses files using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding. Compression is generally considerably better than that achieved by more conventional LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors.

To untar a .tar.bz2 file:

tar -jxvf  filename.tar.bz2


To untar a .tar.gz file:


tar -zxvf filename.tar.gz

No comments:

Post a Comment