how to check for a word in a file in linux code example Example: linux search for line in file grep -R "keyword" /directory/