Find file contain text on linux

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