Return to Snippet

Revision: 6034
at April 22, 2008 11:06 by lakedenman


Initial Code
cat some_log_file | grep -b 10 -a 10 "something to search for"

Initial URL


Initial Description
"-b" and "-a" tells grep to show you 10 lines before and 10 lines after

Initial Title
Before and After

Initial Tags
line

Initial Language
Bash