grep output to show only matching file

paultop6 picture paultop6 · Oct 11, 2010 · Viewed 109.9k times · Source

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?

Answer

a'r picture a'r · Oct 11, 2010
grep -l 

(That's a lowercase L)