There is a directory containing several files and i want to grep for files containing a string "str1" say. for this, the following cmd works perfectly fine :
grep "str1" -r * Now, i want to grep for files which contain two strings say str1 and str2. can anyone please let me know how to do that.