Bzip2 & Bunzip2

Last modified: 2023-03-28

Archive

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