Search inside gzip files
low risk
grep for compressed files; ideal for rotated logs.
zgrep -i "error" /var/log/nginx/error.log*.gzSearch all rotated logs · explain & risk-check →Reference text is hand-written and may be incomplete — check man zgrep for your version. Test destructive commands on a non-production system first.