how to search for a word in files in linux code example
Example 1: linux search for line in file
grep -R "keyword" /directory/
Example 2: linux find from file content
grep -rnw '/path/to/somewhere/' -e 'pattern'
grep -R "keyword" /directory/
grep -rnw '/path/to/somewhere/' -e 'pattern'