I would like to explore man pages in bash using something similar to the python help('topics') function. Does this exist in bash?
I know the bash equivalent of python's help('modules') would look something like:
For more complete documentation, like in Python, read the manual. You can read it in a web browser or with the
If you want external commands as well, you will need to reach for the manual of these commands. You can see the list of man pages for commands (a sort of equivalent of
If you know roughly what you're about, use the
Bash has a help function, but it can only tell you about the Bash built-in functions. Otherwise, you're really stuck with the man command itself, which does have some useful options.
Try the following
Since you mention
If so, you could explore man pages for particular packages using
Mostly useful for targeted RTFM-ing on particular package(s), but not so much for serendipitous discovery.
(full disclosure: i'm the author of dlocate and maintainer of the package in debian, so i'm kind of biased towards using it).