我想使用类似于 python help('topics') 函数的东西来探索 bash 中的手册页。这在bash中存在吗?
我知道与 python 的 help('modules') 等效的 bash 看起来像:
dpkg –get-selection
Run Code Online (Sandbox Code Playgroud)
Bash 有帮助功能,但它只能告诉您有关 Bash 内置功能的信息。否则,您真的会被 man 命令本身所困扰,它确实有一些有用的选项。
尝试以下
man -a intro
man -k *keyword*
man -K *keyword*
Run Code Online (Sandbox Code Playgroud)