Report issue Add example

bzcat

Decompress files to standard output.

Description

The bzcat command decompresses specified .bz2 files and displays the contents without creating a separate decompressed file.

Syntax

bzcat [parameters]

Parameters

.bz2 compressed file: Specify the .bz2 file whose contents are to be displayed.

Examples

Compress /tmp/man.config using bzip2 format:

bzip2 -z man.config

At this point, man.config becomes man.config.bz2.

Read the contents of the compressed file:

bzcat man.config.bz2

The contents of man.config.bz2 after decompression will be displayed on the screen.