command find all line number of word in linux file code example Example: linux search for line in file grep -R "keyword" /directory/