Posted in Linux By duncan21Posted on 2014 年 12 月 23 日2015 年 1 月 4 日Tagged grep Post Views: 104 在全局变量下加入以下代码: alias grep=’grep –color=auto’ 出自grep的官方文档 --color[=WHEN], --colour[=WHEN] use markers to highlight the matching strings; WHEN is `always', `never', or `auto' 如何让grep的输出字符有色彩