Linux: grep multiple lines

grep -A{number} __TEXT__
grep -B{number} __TEXT__

A = After match
B = Before match

Example
grep -A3 TEXTGOESHERE

 

ref: http://askubuntu.com/a/27840