Colour Linux & Cygwin console searches with Colourised Grep
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 .bashrc or .profile or the like:
export GREP_OPTIONS='--color=auto'Now if you perform the same search again your output should be a little clearer:
export GREP_COLOR='1;33'

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


Buy Stuff From Amazon 
0 Comments:
Post a Comment