What does Linux less -g or –hilite-search option do?

Normally, less will highlight ALL strings which match the last search command.  The -g option changes this behavior to highlight only the particular string which was found by the last search command.  This can cause less to run somewhat faster than the default.

Leave a Reply