Recursive grep search with filenames and line numbers

On February 18, 2009, in Linux, by Chris Carey

Slack and Bill at worked helped me out with a nice recursive grep search. It is now my favorite:

egrep -irHn <searchterm> <path>

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>