Our blog
Grep Gzipped Log Files
If you need to grep through some archived log files in gz format - don't be extracting them and then using grep to search, just use zgrep to grep them directly.
Easy!
-
zgrep 'my_search_string' access_log.processed.1.gz> zgrep_results && less zgrep_results
RSS Feed