CLI – Sometimes you want to view the content of a compressed file. The zcat Command Line command allows you to do that. What does zcat do:
zcat uncompresses either a list of files on the command line or its standard
input and writes the uncompressed data on standard output.
The zcat command is like cat, but for compressed files.
To learn a lot more about how to use zcat, take a look at “Linux zcat Command Tutorial for Beginners (5 Examples)“. Yes, this is a Linux article, but the zcat command as implemented on macOS is fundamentally the same.