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