In Unix, type is a command that describes how its arguments would be interpreted if used as command names.
Function
Where applicable, type will display the command name's path. Possible command types are:
The command returns a non-zero exit status if command names cannot be found.
The type command was added to the Bourne Shell in 1984 with SVR2 but is not part of the POSIX standard. With a POSIX shell, similar behavior is retrieved with
command -V nameIn the Korn shell, the command whence provides similar functionality.
References
Type (Unix) Wikipedia(Text) CC BY-SA