Find all occurrences of foo in directories and files recursively, from the current directory
grep -ir --text foo * -i: case insensitive -r: recursive but don't follow symlinks --text: treat binary files as text
Find tell in trans.sql and show 3 lines of context surrounding the result
grep -C 3 tell trans.sql