tags:

views:

23

answers:

2

Hi All,

simple question, what is the option for grep that will allow me only to print the matching file and not the line within a file that matches the criteria?

+3  A: 
grep -l ..........
ar
added lots of dots to get over the 15 character minimum ;-)
ar
+1  A: 

-l (that's a lower-case L).

Mark Ransom