Grep within .gz file without uncompressing

zcat file.gz | grep string

[highlighter line=0]

Your CPU and memory will do all the work. Nothing will be stored on the harddrive.

Leave a Reply

Your email address will not be published. Required fields are marked *