RSS feed

Grep Highlighting

January 23rd, 2009 | Posted in Linux | No Comments

If you’ve ever wanted your search string highlighted when grepping through masses of logs etc you can add the following alias to ~/bashrc to do just this.

 

alias grep='grep --color=auto'


No Comments to “Grep Highlighting”

There are no comments yet, add one below.

Comments are closed.


Leave a Comment






Categories