Grep with context
Use the -Cx switch where "x" is the number of lines of surrounding context to show. For example, to show four lines of context:
grep -C4 "virtual" /usr/local/bin/httpd
grep -C4 "virtual" /usr/local/bin/httpd
.NET, Linux, and Life.
<< Home