🧀 Learn Linux

Advanced · Packaging and Compression

zgrep:Search for gzip text

Syntax

zgrep PATTERN FILE.gz

Examples

zgrep ERROR app.log.gz

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands