是否有等效于调用内置 python 函数 help('topics') 但在 bash 中?

Yeo*_*eng 3 bash python

我想使用类似于 python help('topics') 函数的东西来探索 bash 中的手册页。这在bash中存在吗?

我知道与 python 的 help('modules') 等效的 bash 看起来像:

dpkg –get-selection
Run Code Online (Sandbox Code Playgroud)

its*_*uce 6

Bash 有帮助功能,但它只能告诉您有关 Bash 内置功能的信息。否则,您真的会被 man 命令本身所困扰,它确实有一些有用的选项。

尝试以下

man -a intro

man -k *keyword*

man -K *keyword*
Run Code Online (Sandbox Code Playgroud)