Linux command
help 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Get help for builtin
help [cd]
List all builtins
help
Short description
help -d [command]
Man page format
help -m [command]
Show usage synopsis
help -s [command]
说明
help displays information about shell builtin commands. It's a Bash builtin that provides documentation for commands built into the shell. The command shows usage, options, and descriptions for Bash builtins. It's useful for learning about commands like cd, export, and source.
参数
- -d
- Short description only.
- -m
- Man page format.
- -s
- Usage synopsis only.
FAQ
What is the help command used for?
help displays information about shell builtin commands. It's a Bash builtin that provides documentation for commands built into the shell. The command shows usage, options, and descriptions for Bash builtins. It's useful for learning about commands like cd, export, and source.
How do I run a basic help example?
Run `help [cd]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d do in help?
Short description only.