Man Pages Search – How to Perform Case Insensitive Search

lessmanpagersearch

Is there a way to search man pages case-insensitively? Using the '/' search feature matches exact case.

Best Answer

When no other pager is specified, man uses less to display man pages.

The other answers that involve changing the pager command line are correct, but you can also type -i while less is running. From the less man page:

- Followed by one of the command line option letters (see OPTIONS below), this will change the setting of that option and print a message describing the new setting.

So typing -i while in less changes the setting in the same way that specifying it on the command line would. I got the hint that this would work from How do you do a case insensitive search using a pattern modifier using less, then found the explanation in the man page.