Bzip2 & Bunzip2

Bzip2 command is a compression utility in Unix, Linux and other operating systems. It is used to compress and decompress files to reduce their size.

Compress

bzip2 example.txt

Decompress

bzip2 -d example.txt.bz2
bunzip2 example.txt.bz2

Last updated