Is there something which can be used to search and highlight terms in terminal output? I need to search for "Error" after running make.
|
|
|||||
|
Using grep and its variationsUsually
Or if there was a lot of output and you wanted to use a pager:
However, if you want to see all the content, and not just the lines that match your search, you could install the
And if that generates a lot of output and you want to use a pager, you need a bit more syntax to preserve the color:
In all the examples I included One more variation is just to go straight into a pager and search within that:
One way to search in less is by typing Using terminal menuUsing the Search menu or a keyboard short-cut Shift+Ctrl+F |
||||
|
|

