Written by Sean Behan on Thu Aug 29th 2013

The -r flag is for recursive, meaning it will also look in sub directories. The -i flag is for case insensitivity, meaning WORD and word will both be found.

grep -ir "search term" directory/path

Tagged with..
#Grep #Unix #Command Line

Just finishing up brewing up some fresh ground comments...