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