Zcat

From Psygen Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

zcat is used to view the contents of zipped files.


View the contents of a zip file:

zcat file1.txt.gz


View the contents of a zip file one screen at a time:

zless filename.gz


Search inside a zipped file:

zgrep foo myfile.gz