小编Ban*_*nix的帖子

使用 grep 突出显示在 Xterm 中不起作用

我的 Xterm 有问题。

当我使用命令时

tail -F example.log | grep -a -i -e 'examplestring'
Run Code Online (Sandbox Code Playgroud)

在 Xterm 中,“grepped”字符串不会像在普通终端中那样以红色突出显示。

我怎样才能解决这个问题?谷歌对我帮助不大。

colors tail grep kubuntu xterm

6
推荐指数
1
解决办法
632
查看次数

标签 统计

colors ×1

grep ×1

kubuntu ×1

tail ×1

xterm ×1