how to search a particular word in a file in linux code example
Example 1: how to find a word in files linux
# this will search all subdirectories for text (no case sensitivity)
grep -inR "your text" .
Example 2: how to search keyword in linux
grep -w phoenix *