heberoxx 发表于 2019-2-18 13:06:44

Ubuntu 使用 tail

  tail -f xxx.log | perl -pe 's/(ERROR)/\e[1;31m$1\e[0m/g'



页: [1]
查看完整版本: Ubuntu 使用 tail