My most common grep line is just..
grep -IRl "text" *
However I'm kinda getting tired of retyping this over and over - is there some way I can make an alias command so that those arguments are always enabled?
And, I was wondering what arguments you usually specify for text searching - my two arguments 'R' for recursion, 'I' for not including binary types like jpg/gif, and 'l' for line number seem a bit too minimal. Which arguments do you use?
ackclaims to have good defaults (and has a ~/.ackrc) for search purposes. betterthangrep.com – Jeffrey Jose Dec 29 '10 at 8:11