Monthly Archives: 一月 2016

grep高亮显示关键字(转)

让grep显示颜色:

export GREP_OPTIONS=”–color=always”
export GREP_COLOR=”1;32”

然后grep命令的结果中的pattern就会用指定的颜色高亮 Continue reading

Posted in Linux | Leave a comment