Hello,
I am wondering if you can assist with my question and ask kindly for this.
I have a number of files that are listed as file1.gz through file100.gz.
I am trying to perform a grep on the files and find a specific date that only resides within within one of the files. There are multiple entries within the file so I am try to also limit the amount of output with the tail or head command.
My command is something like this, although it is incorrect:
gunzip -c file1.*.gz |grep -v "Jul 25 22:16:09" | tail -n 20
Thank you kindly.