帮助
运行一个Shell应用程序通常意味着用户处于图形受限的环境中。因此,正确地自我文档化Shell命令非常重要,这就是help命令发挥作用的地方。
输入 help + ENTER 列出 Shell 知道的所有命令及其简要说明,类似于以下内容:
my-shell:>help
Available commands:
Built-In Commands
help: Display help about available commands
clear: Clear the shell screen.
version: Show version info
键入 <command> -h 或 <command> --help 可显示有关命令的更多信息,包括可用参数、它们的类型、是否必填以及其他详情。