Colorful grep

Posted by on July 1, 2008
I'm not sure how I've made it this far in my career and never knew that grep had a color option to highlight the term you're searching for in the results. Guess I've never really needed it that bad, but since stumbling across this, it's made things a lot easier to view. To make this seamless you can add this to your .bash_rc or .bash_profile:
alias grep="grep --color=auto"
Thanks to asommer's .bash_rc for pointing this out.