Unix/Linux commands can be used to search for a word in a text file code example
Example 1: find text in any file linux
grep -rnw '/path/to/somewhere/' -e 'pattern'
Example 2: how to search keyword in linux
grep -w phoenix *
grep -rnw '/path/to/somewhere/' -e 'pattern'
grep -w phoenix *