zcat

Display the contents of the files in the compressed package

Supplementary instructions

zcat command is used when the contents of the files in the compressed package can be displayed without actually decompressing the files.

grammar

zcat(options)(parameters)

Options

-S: Specifies the suffix of the compressed package in gzip format. Use this option when the suffix is not a standard archive suffix;
-c: Write the file contents to standard output;
-d: perform decompression operation;
-l: Display the list of files in the compressed package;
-L: Display software license information;
-q: disable warning messages;
-r: perform recursive operations on the directory;
-t: Test the integrity of the compressed file;
-V: Display the version information of the command;
-l: faster compression speed;
-9: Higher compression ratio.

Parameters

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