Command (Unix)

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 Wikipedia'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)

commandOperating system| Unix and Unix-like

|

Type| Command

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

[edit]

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

[edit]

* List of Unix commands

## External links

[edit]

* `command` – Shell and Utilities Reference, The Single UNIX Specification, Version 4 from The Open Group

* v
* t
* e

Unix command-line interface programs and shell builtins

File system|

* cat
* chattr
* chmod
* chown
* chgrp
* cksum
* cmp
* cp
* dd
* du
* df
* file
* fuser
* ln
* ls
* mkdir
* mv
* pax
* pwd
* rm
* rmdir
* split
* tee
* touch
* type
* umask

Processes|

* at
* bg
* crontab
* fg
* kill
* nice
* ps
* time

User environment|

* env
* exit
* logname
* mesg
* talk
* tput
* uname
* who
* write

Text processing|

* awk
* basename
* comm
* csplit
* cut
* diff
* dirname
* ed
* ex
* fold
* head
* iconv
* join
* m4
* more
* nl
* paste
* patch
* printf
* read
* sed
* sort
* strings
* tail
* tr
* troff
* uniq
* vi
* wc
* xargs

Shell builtins|

* alias
* cd
* echo
* test
* unset
* wait

Searching|

* find
* grep

Documentation|

* man

Software development|

* ar
* ctags
* lex
* make
* nm
* strip
* yacc

Miscellaneous|

* bc
* cal
* expr
* lp
* od
* sleep
* true and false

* Categories
* Standard Unix programs
* Unix SUS2008 utilities
* List

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template