linha de comando como encontrar todos os arquivos que têm uma string

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