🔎 Need to search for some data in a bunch of compressed archives, such as log f...

@mboelen@mastodon.social

🔎 Need to search for some data in a bunch of compressed archives, such as log files?

💡 Don't uncompress them first, but directly use 'zgrep' to search in it.

Also useful: zcat, zdiff, zless, zmore

⚠️ Good to know: these tools are available on #Linux and #FreeBSD as well, but differ a little bit. Look carefully if you need to use regular expressions, such as using the '-E' option.

#terminal #dataprocessing #logfiles