The zcat command is a combination of gzip and cat . It allows you to view the contents of a text file that has been compressed with the ".gz" format without having to decompress it first.
The syntax of the zcat command is straightforward:$ zcat prj1.c.gz |
Please note that zcat can only be used to read compressed text files ".gz". If the file is not a compressed text file, zcat will not work.
For more examples and information about zcat, you can refer to the provided link.