command line how to find all files that have a string
grep -rnw '/path/to/somewhere/' -e 'pattern'
command line how to find all files that have a string
grep -rnw '/path/to/somewhere/' -e 'pattern'
linux find text in files recursively -include
# 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'
linux search for a given string in all files recursively
$ grep -r "String to be searched goes here" *
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us