bzip2 (compress files)

Compresses one or more files. Adds the extension .bz2 to the compressed file. Compresses better than gzip.

Format:    bzip2 filenames
Examples:  bzip2 file1.txt file2.txt ...

After compression, the file is renamed to file1.txt.bz2, file2.txt.bz2, etc.

Get Spring Into Linux® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.