Command (Unix)

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

command is a shell command for executing a command without invoking a function or alias that has the same name. 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 the inner command is invoked instead of the function. 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.

command is a shell command for executing a command without invoking a function or alias that has the same name. 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 the inner command is invoked instead of the function. 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 ls command is run directly instead of invoking a function or alias with the same name. $ command ls

See also

References

External links

Text derived from https://en.wikipedia.org/w/index.php?oldid=1352558007 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001352558007 · captured 1777927189.0 · version history

Cite this page as: encyclopegia.org, “Command (Unix)”, snapshot enwiki-001352558007. https://encyclopegia.org/a/command-unix

Sources cited in this revision

2 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.