I'm running a program to go through an automatically generated report and I want it to pull out certain lines.
Right now I have the command
grep -i 'security violation by user'
but I need the 2 lines below it as well so I can see what user caused the violation.
There will always be 2 lines below this so don't worry about that.
Any help?
Right now I have the command
grep -i 'security violation by user'
but I need the 2 lines below it as well so I can see what user caused the violation.
There will always be 2 lines below this so don't worry about that.
Any help?