fish / 3.5.0 / cmds / builtin.html /

builtin - run a builtin command

Synopsis

builtin [OPTIONS] BUILTINNAME
builtin --query BUILTINNAME ...
builtin --names

Description

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.

-h or --help

Displays help about using this command.

Example

builtin jobs
# executes the jobs builtin, even if a function named jobs exists

© 2022 fish-shell developers
Licensed under the GNU General Public License, version 2.
https://fishshell.com/docs/3.5/cmds/builtin.html