4
I'm trying to execute double search within files and return file names.
I'm using
find ./ -iname '*txt' | xargs grep "searchtext" -sl
to find file names with 'searchtext' in them.
Command is returning a list of files.
How can I find "othersearchtext" in those already found files and show them in the same fashion?
It's fine if the answer is below. Please don't add an answer to your question. Thanks! – slhck – 2011-11-23T09:59:16.973