Filenames and linenumbers for the matches of cat and grep

Posted by Masi on Stack Overflow See other posts from Stack Overflow or by Masi
Published on 2009-02-26T20:05:12Z Indexed on 2010/04/08 22:43 UTC
Read the original article Hit count: 276

Filed under:
|
|
|

My code

$  *.php | grep google

How can I print the filenames and linenumbers next to each match?

© Stack Overflow or respective owner

Related posts about unix

Related posts about beginner