bzcat

Without decompressing, directly view the specified .bz2 file

Supplementary instructions

bzcat command displays the decompressed file contents without decompressing the specified .bz2 file.

grammar

bzcat(parameter)

Parameters

.bz2 compressed file: Specify the .bz2 compressed file to display the content.

Example

Compress /tmp/man.config in bzip2 format:

bzip2 -z man.config

At this time man.config will become man.config.bz2

Read the contents of the above compressed file:

bzcat man.config.bz2

At this time, the decompressed file contents of man.config.bz2 will be displayed on the screen.