Apropos for commands only?
Posted on 2009-05-12
When I'm looking for commands to do an operation, I sometimes use apropos. The problem is that apropos will list not just unix commands, but also C APIs as well. There are plenty C APIs, and they easily outnumber commands listed.
My question: is there a way to essentially do an apropos on commands only?
I'm not just trying to do a one line listing of commands (for example, if I wanted this for ls I'd do an "apropos '^ls('"). I am trying to get some kind of command or script that I can use that would accomplish searching the context of command descriptions as well, something I think apropos can be really good at. Maybe I'm just forgetting or missing something really obvious here.