抛开terminator不说,“搜索当前输出”的方法应该是把输出内容通过管道传给less,在less中用'/keyword'命令对内容进行搜索(高亮)。 比如你用cat命令输出一个html文件,并搜索其中的'html': cat index.html | less 然后在less中: /html 你会看到'html'被高亮了。
抛开terminator不说,“搜索当前输出”的方法应该是把输出内容通过管道传给less,在less中用'/keyword'命令对内容进行搜索(高亮)。
比如你用cat命令输出一个html文件,并搜索其中的'html':
然后在less中:
你会看到'html'被高亮了。