grep in terminal code example
Example 1: linux search for line in file
grep -R "keyword" /directory/
Example 2: find text pattern in file linux
grep -rnw '/path/to/somewhere/' -e 'pattern'
Example 3: how to search keyword in linux
grep -w phoenix *