Find in files using shell

Find in files using the shell. Replace <DIRECTORY> with the directory of the search and <PATTERN> with the search pattern.

grep -rn <DIRECTORY> -e <PATTERN>