builtin - run a builtin command¶
概要¶
builtin [OPTIONS] BUILTINNAME
builtin --query BUILTINNAME ...
builtin --names
描述¶
builtin forces the shell to use a builtin command named BUILTIN, rather than a function or external program.
The following options are available:
- -n or --names
Lists the names of all defined builtins.
- -q or --query BUILTIN
Tests if any of the specified builtins exist. If any exist, it returns 0, 1 otherwise.
- -h or --help
顯示此指令的幫助資訊。
範例¶
builtin jobs
# executes the jobs builtin, even if a function named jobs exists
