fish-shell/doc_src/cmds/builtin.rst

32 lines
588 B
ReStructuredText
Raw Normal View History

.. _cmd-builtin:
builtin - run a builtin command
===============================
Synopsis
--------
| **builtin** [*OPTIONS*] *BUILTINNAME*
| **builtin** --query *BUILTINNAME* ...
Description
-----------
``builtin`` forces the shell to use a builtin command, rather than a function or program.
The following parameters are available:
2021-12-09 11:53:13 +00:00
**-n** or **--names**
List the names of all defined builtins
**-q** or **--query**
Tests if any of the specified builtin(s) exist
Example
-------
2018-12-19 03:14:04 +00:00
::
builtin jobs
# executes the jobs builtin, even if a function named jobs exists