linux grep Find the all the files and directories name start with "r" in /etc code example
Example 1: linux search all directories for file
find / -iname 'book1*'
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" .