🐧 Quick Linux tip:
Got log files compressed as .gz? You don’t need to extract them to read or search through the content.
Use the 'z' tools directly:
• zcat - view the file
• zless - scroll through it
• zgrep - search inside it
• zegrep - search with extended regex
• zfgrep - search for fixed strings
• zcmp/zdiff - compare files
These commands let you inspect compressed logs without unpacking them first, perfect for quick troubleshooting sessions.

4March 4, 2026 5.9K