For example, when I type man fg
, or man history
, the same manpage, BUILTIN(1)
will be displayed. There is a list of commands, but not the specification of their usage. Where can I find them?
相关问题
- How to get the return code of a shell script in lu
- JQ: Select when attribute value exists in a bash a
- Invoking Mirth Connect CLI with Powershell script
- Why should we check WIFEXITED after wait in order
- Emacs shell: save commit message
相关文章
- 使用2台跳板机的情况下如何使用scp传文件
- In IntelliJ IDEA, how can I create a key binding t
- Check if directory exists on remote machine with s
- shell中反引号 `` 赋值变量问题
- How get the time in milliseconds in FreeBSD?
- Making new files automatically executable?
- Reverse four length of letters with sed in unix
- Launch interactive SSH bash session from PHP
BUILTIN
commands don't have separate man pages. Those are covered byhelp
pages. You can do:or
I have the following bash function defined in my ~/.bashrc:
This allows me to (in most cases) jump directly to the relevant section of the bash man page for the given builtin. E.g.
jumps directly to:
Unfortunately it doesn't work quite so well for some builtins -
history
is one of them. In those cases, you will have to n through the man page several times to get to the required section.Documentation for commands that are shell builtins are with the man pages for the shell.
See for example: man bash for the history or fg command.