ligne de commande comment trouver tous les fichiers qui ont une chaîne
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" *