find a word in txt file linx code example
Example 1: linux find from file content
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 *