linux - terminator 在当前的输出中 搜索,内容不能高亮
天蓬老师
天蓬老师 2017-04-17 15:50:11
0
1
1622

在 ubuntu 下安装了 terminator, 一个致命的问题,搜索当前输出,结果内容不能高亮,求解决方案

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
黄舟

Disregarding the terminator, the method of "searching the current output" should be to pass the output content to less through a pipe, and use the '/keyword' command in less to search (highlight) the content.

For example, you use the cat command to output an html file and search for 'html' in it:

cat index.html | less

Then in less:

/html

You will see 'html' highlighted.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template