DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Highlight Matching String When Using Grep

07.13.2006
| 5443 views |
  • submit to reddit
        Edit /etc/bash.bashrc (on Debian/Ubuntu), /etc/bashrc (on Fedora) or /etc/profile
export GREP_OPTIONS="--colour=auto"