Search Results

Search: Posts Made By: cbeauty
4,794
Posted By cbeauty
radoulov, You are very knowledgeable. nawk...
radoulov,
You are very knowledgeable.
nawk 'x&&!--x;/error/{x=3}' file
is what I needed.:)
Thank you.
4,794
Posted By cbeauty
grepping around
Using shell scripts, I use grep to find the word “error” in a log file:
grep error this.log.
How can I print or get the line 3 lines below the line that word “error” is located?
Thanks in advance...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy