bash script to read files in a directory which has a specific word code example
Example: command line how to find all files that have a string
grep -rnw '/path/to/somewhere/' -e 'pattern'
grep -rnw '/path/to/somewhere/' -e 'pattern'