Linux encontrar desde el contenido del archivo

grep -rnw '/path/to/somewhere/' -e 'pattern'
Disgusted Dolphin