Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
command (Unix)
Unix shell builtin

command is a shell command for Unix and Unix-like operating systems. It is used to execute a command whilst suppressing normal shell function lookup.

It is specified in the POSIX standard and is often implemented in Unix shells as a shell builtin function. Built-in functions take precedence over programs when resolving the name of a command. A user may suppress the lookup of built-in functions in order to execute a program with the same name as a built-in function.

The arguments passed specify the name of the command to be executed, along with its arguments. If the specified command name is the name of a shell built-in function, the command will be processed as if such function did not exist. In all other circumstances the command will be processed as normal.

We don't have any images related to command (Unix) yet.
We don't have any YouTube videos related to command (Unix) yet.
We don't have any PDF documents related to command (Unix) yet.
We don't have any Books related to command (Unix) yet.
We don't have any archived web articles related to command (Unix) yet.

Examples

In the following, the ls command is run without any shell functions or aliases that may exist with the same name:

$ command ls

See also

References

  1. "command - manned.org". POSIX Programmer's Manual. Retrieved 13 February 2025. https://manned.org/man/command

  2. "command(1p)". Linux manual page. Retrieved 13 February 2025. https://man7.org/linux/man-pages/man1/command.1p.html