I have a list file that contains a list of 50 words.
eg
word1
word2
word3
I want to search/grep for each of those words in a directory/and subdirectories and list the file in which that word exists.
Ne ideas for script/command?
I know grep -r <pattern> /direaddress will search for existence of a pattern in all files in a directory...but how will i grep for a pattern in a filelist in directory/subdirectories.