How to grep directory for keyword existence?

For example I have a /path/to/folder and want to see if it contains "keyword1", "keyword2" or "keyword3" and the result would be (when 2 are found):

/path/to/folder: keyword1 keyword3

I tried with options shown here but it doesn't work for folders.

1
задан Community 23 May 2017 в 11:47
поделиться