I want to learn how to search for a file by giving the content within it as a parameter. I can then apply the solution to search for commands contributed by Richard Stallman (through man pages).
This command will show you the filenames of man files that contain the keyword
Output in my 15.10 begins with:
Then, you can browse as usual, with
Though manpages typically have just
This method does not search the entire manpages for a keyword, but only each manpage's title and short description. It will not be enough in your case, but useful to quickly look up something. If it does not return the desired results, you have to use @philsf's answer.
You can use the
You can display a known manpage's description using
As I said, this method will not search the entire manpage body, therefore