how to find all files that containing a given word in a given directory linux code example
Example: how to search for a word in all files in a directory in linux
# this will search all subdirectories for text (no case sensitivity)
grep -inR "your text" .