Colored grep
Jan. 13th, 2009 11:21 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
To use colored grep you could put the next to your ~/.bash_profile or ~/.profile:
It works on Fedora 9, and on Ubuntu 7.10 (at least on the terminal which is connected to it via ssh).
export GREP_COLOR='31' # red
#export GREP_COLOR='34' # blue
alias grep='grep --color=auto'
It works on Fedora 9, and on Ubuntu 7.10 (at least on the terminal which is connected to it via ssh).
no subject
Date: 2009-01-13 09:38 pm (UTC)no subject
Date: 2009-01-13 10:05 pm (UTC)