zgrep

Search inside gzip files

low risk

interactive breakdown — edit the command and press Explain
$ 
What it does

grep for compressed files; ideal for rotated logs.

Examples
zgrep -i "error" /var/log/nginx/error.log*.gzSearch all rotated logs · explain & risk-check →
Related
grep zcat
Open the full explainer →More in Files & Archives

Reference text is hand-written and may be incomplete — check man zgrep for your version. Test destructive commands on a non-production system first.