Name

zcat

Synopsis

    zcat [files]

Uncompress one or more compressed files to the standard output, leaving files unchanged. See bzip2 and gzip.

On Solaris, zcat is the original version related to compress. GNU/Linux and Mac OS X use the version related to gzip, which can decompress .Z and .gz files.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.