[quote]打开~/.bash_profile文件并在最下面添加下面代码[/quote]
GREP_COLOR=32
export GREP_COLOR
export PATH
alias grep='grep --color=always'
alias less='less -r'