Search code examples
grep

grep output to show only matching file


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?


Solution

  • grep -l 
    

    (That's a lowercase L)