zcat command

Q. I’ve lots of .gz files in my directory and I’d like to search them using grep. Unfortunately, grep is not working on my compressed file How do I write a script to automate entire procedure to grep some compressed files. Do I have to uncompress them first and run grep over them? A. No [...]

{ 0 comments }