Tuesday, 26 February 2013

Search for searchpattern in file and provide 3 lines above and 3 lines below of context in the output.

grep -C3 searchpattern file # Search for searchpattern in file and provide 3 lines above and 3 lines below of context in the output.

No comments: