在 ubuntu 下安装了 terminator, 一个致命的问题,搜索当前输出,结果内容不能高亮,求解决方案
黄舟2017-04-17 15:52:11
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.