{{short description|Unix shell builtin}} {{lowercase title}} {{Infobox software | name = command | logo = | screenshot = | screenshot size = | caption = | author = | developer = | released = | latest release version = | latest release date = | programming language = | operating system = Unix and Unix-like | genre = Command | license = | website = }} <code>'''command'''</code> is a shell command for executing a command without invoking a function or alias that has the same name.<ref>{{cite web |title=command - manned.org |url=https://manned.org/man/command |website=POSIX Programmer's Manual |access-date=13 February 2025}}</ref> The command line arguments consist of an inner command line to executed. If the first argument is the name of a function or alias as well as the name of a command, then normally the function or alias takes precedence, but when passed as an argument to {{code |command}} the inner command is invoked instead of the function.<ref>{{cite web |title=command(1p) |url=https://man7.org/linux/man-pages/man1/command.1p.html |website=Linux manual page |access-date=13 February 2025}}</ref>
The command is available on Unix and Unix-like operating systems. It is specified in the POSIX standard and is often implemented in Unix shells as a shell builtin function or alias.
==Examples== In the following, the <code>ls</code> command is run directly instead of invoking a function or alias with the same name.
<syntaxhighlight lang="console"> $ command ls </syntaxhighlight>
==See also== * {{Annotated link |List of POSIX commands}}
==References== {{Reflist}}
==External links== *{{man|cu|command|SUS}}
{{Unix commands}}
Category:Standard Unix programs