Advanced · Packaging and Compression
zgrep:Search for gzip text
Syntax
zgrep PATTERN FILE.gzExamples
zgrep ERROR app.log.gzUsage and sandbox support
Manual reference only
Related commands
tarPack, view and restore archivesgzipcompressed filegunzipRecover compressed fileszipCreate ZIP archiveunzipUnzip the ZIP archivebzip2Use bzip2 compressionbunzip2Unzip the bzip2 filexzUse xz compressionunxzUnzip the xz filezcatRead gzip filezstdUse Zstandard compression7zManage multiple archive formats