I have a textfile with a list of words. I'm searching for an Unix solution like as follows:
For every word I want to search in all files of a directory if the word is in the file and give back the filename if the word can be found. The files are located in subdirectories of the directory.
Do I need a loop? Or is there a special command which can do that? I have found the "comm" command but it seems to work only for two files and not for the whole folder.