Grep is a wonderful tool useful for searching for all kinds of stuff but sometimes what you are searching for gets lost:
To get your console shell to add a little colour to your grep search terms add the following to your
.profile or the like:
export GREP_OPTIONS='--color=auto'Now if you perform the same search again your output should be a little clearer:
And as an added bonus this works on Cygwin (the Windows Unix shell) as well as Linux!
Technorati Tags: Cygwin, Linux, Console, Shell, Colour, Grep, Andrew Beacock