Misplaced Pages

command (Unix)

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Unix shell builtin
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
The topic of this article may not meet Misplaced Pages's notability guidelines for products and services. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.
Find sources: "Command" Unix – news · newspapers · books · scholar · JSTOR (February 2020) (Learn how and when to remove this message)
This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Command" Unix – news · newspapers · books · scholar · JSTOR (February 2020) (Learn how and when to remove this message)
(Learn how and when to remove this message)
command
Operating systemUnix and Unix-like
TypeCommand

The command command in Unix and Unix-like operating systems is a utility to execute a command. It is specified in the POSIX standard. It is present in Unix shells as a shell builtin function. The argument(s) passed is a command with its arguments. The passed command is run with the normal shell function lookup suppressed.

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

External links

Unix command-line interface programs and shell builtins
File system
Processes
User environment
Text processing
Shell builtins
Searching
Documentation
Software development
Miscellaneous
Category: