How to search multiple strings from multiple files with a single command. May be using grep or find or if there is any other in Linux or Solaris
|
feedback
|
where | |||
|
feedback
|
|
MadHatter's solution will certainly work, however, a simpler, imho, command would be to use (e)grep's recursive flag. Such as:
Depending on whether it is more convenient to consider the collection of files in a hierarchy, above, or as a finite set using shell glob'ing as:
| |||||
feedback
|