BUILTIN(1) fish-shell BUILTIN(1)

# [NAME](#NAME)

builtin - run a builtin command

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#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**](#n)

Lists the names of all defined builtins.

[**-q** or **--query** *BUILTIN*](#q)

Tests if any of the specified builtins exist. If any exist, it returns 0, 1 otherwise.

[**-h** or **--help**](#h)

Displays help about using this command.

# [EXAMPLE](#EXAMPLE)

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

# [Copyright](#Copyright)

fish-shell developers

October 15, 2026 4.9

---

Document: builtin(1) from fish 4.9.3-r3 (Chainguard OS)
Source: https://github.com/fish-shell/fish-shell
