bzcat (display bz2 files)

Displays one or more files that were compressed using bzip2.

Format:    bzcat filenames
Examples:  bzcat file1.txt.bz2 file2.txt.bz2 ...

The file is decompressed and displayed on the screen. Decompressed data is not saved. After the command executes, the compressed file file1.txt.bz2 remains the same.

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.