๐ง 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 4.4K 3