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