Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

Recursively Search Contents of a File with Grep


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 w/ #grep #unix #command line