Replace grep command with grep -n --colour?
is there anything similar for rgrep auto color?
add this line to your .bashrc in your home directory
alias rgrep="grep -n --colour"
Just execute the following lines and modify one line as describe bellow
mkdir -p ~/bin
cd ~/bin
wget http://sdjf.esmartdesign.com/files/rgrep
chmod +x rgrep
Edit it and modify the line
args=${args:--His}
To this version:
args="${args:--His} --color=auto"