Encontre o arquivo com texto no arquivo recursivamente
grep -rnw '/path/to/somewhere/' -e 'pattern'
Disgusted Dolphin
grep -rnw '/path/to/somewhere/' -e 'pattern'
# 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" *
grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"