Type (Unix command)
In Unix and Unix-like operating systems, type is a command that describes how its arguments would be interpreted if used as command names.[src]
In Unix and Unix-like operating systems, type is a command that describes how its arguments would be interpreted if used as command names.[src] ==Function== Where applicable, type will display the command name's path.[src] Possible command types are: shell built-in function alias hashed command keyword The command returns a non-zero exit status if command names cannot be found.[src] ===Examples=== $ type test test is a shell builtin $ type cp cp is /bin/cp $ type unknown unknown not found $ type type type is a shell builtin ==History== The type command was a shell builtin for Bourne shell that was introduced in AT&T's System V Release 2 (SVR2) in 1984, and continues to be included in many other POSIX-compatible shells such as Bash.[src] However, type is not part of the POSIX standard.[src] With a POSIX shell, similar behavior is retrieved with command -V name In the KornShell, the command whence provides similar functionality.[src] The command is available as a separate package for Microsoft Windows as part of the UnxUtils collection of native Win32 ports of common GNU Unix-like utilities.[src] ==See also== List of Unix commands which (command) hash (Unix) ==References==[src]
9 sentences · 9 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Type (Unix command)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/type-unix-command. Accessed 26 November 2026.
Chicago
"Type (Unix command)." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/type-unix-command.
APA
encyclopegia.org. (2026). Type (Unix command). Retrieved November 26, 2026, from https://encyclopegia.org/wiki/type-unix-command
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON