linux command to search a string in all files in a directory code example
Example 1: search all folders for file match linux
find . -name "foo*"
Example 2: 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" .