There are many files in Linux kernel source config/* I want to found one which is similar to my board.
So I try:
egrep -l -e key1 -e key2 config/* Sample config/file1: This is key1 This is key2 Sample config/file2: This is key1 Sample config/file3: This is key2 But the result is either key1 or key2 file listing. I want the result which contains key1 and key2 or is there other easy unix shell which can generate the result?
In the previsous sample I just want to list 'file1'.