Colorful grep

To make grep outputs colorful, just --color parameter:

grep --color=auto

You can make an alias for this if you want this behaviour default:

alias grep='grep --color=auto'

or putting following line in your .bashrc file:

GREP_OPTIONS='--color=auto'

 







You must be login first or sign-up for an account to post comments.

Maybe you should look at these also: