linha de comando como encontrar todos os arquivos que têm uma string
grep -rnw '/path/to/somewhere/' -e 'pattern'
Disgusted Dolphin
grep -rnw '/path/to/somewhere/' -e 'pattern'
find . -name "foo*"
# look for airflow Variable usage recursively in it's homepath
# include only python and sql files in the search
grep --include=\*.{py,sql} -rnw /home/airflow -e 'Variable'
# shows how to use exclude... it'll skip data or log files
grep --exclude=\*.{data,log} -rnw . -e 'Variable'
$ grep -r "String to be searched goes here" *