search for a word in 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" .
# this will search all subdirectories for text (no case sensitivity)
grep -inR "your text" .