builtin

A command implemented inside the shell itself rather than as a separate program on disk, such as cd, read or export.

In more detail

Some commands must be builtins because they change the shell: cd changes its current directory, and a separate program could only change its own. Builtins also start faster because no new process is created. Use help name to read about a builtin and type name to see whether a name is a builtin, a keyword, an alias, a function or a file.

Related terms

Taught in

References

Certification courses