bash how to grep for word in files code example
Example 1: linux search for line in file
grep -R "keyword" /directory/
Example 2: how to search keyword in linux
grep -w phoenix *
grep -R "keyword" /directory/
grep -w phoenix *