Blog of Leonid Mamchenkov

You just stepped in a pile of posts.

GNU grep can be colorful

Posted in All on April 7th, 2006 · 3 Comments

Yet another of those tiny things that I wish I discovered a billion years ago - GNU grep supports color.  Yup, that’s right.  You can actually have your matches nicely highlighted in the results.  All you have to do to use this beauty is run grep --color instead of just grep. (Hint: an alias might be in order.)

Tags:

3 responses so far ↓

  • 1 michael // Apr 12, 2006 at 9:21 am

    Cool! Cool! Cool!!! I use grep now only with –color!

  • 2 Leonid Mamchenkov // Apr 12, 2006 at 9:34 am

    Yeah, I wish I found this one earlier. ;)
  • 3 Lev Shuvalov // Apr 12, 2006 at 12:46 pm

    michael, you didn’t know?

Leave a Comment

Note: This post is over 2 years old. You may want to check later in this blog to see if there is new information relevant to your comment.

Advertisement

  • 50 ways to help the planet
  • Flickr
  • Linux Weekly News