tail -f一个文件时,可以按条件把某个字段变成指定颜色吗
发表于 : 2008-12-23 13:48
如题.比如说
tail -f /abc/kkk.log
其中有info字段和error字段
我想让info是绿色
error是红色
不知道怎么实现呀?
或者用其他的工具来看
tail -f /abc/kkk.log
其中有info字段和error字段
我想让info是绿色
error是红色
不知道怎么实现呀?
或者用其他的工具来看
将其alisa成tail -f |more呗。piolong 写了:如题.比如说
tail -f /abc/kkk.log
其中有info字段和error字段
我想让info是绿色
error是红色
不知道怎么实现呀?
或者用其他的工具来看