type — Write a Description of Command Type
Synopsis
/usr/bin/type name...
Description
The type command indicates how each name operand would be interpreted if used as a command. type displays information about each operand, identifying the operand as a shell built-in, function, alias, hashed command, or keyword, and can display the path name of the operand where applicable.
The shell built-in version of type is similar to the type command.
Operands
name | A name to be interpreted. |
Examples
The following example shows the output for the tty, who, and whence commands.
castle% type tty tty is /bin/tty castle% type who who is a tracked alias for /bin/who castle% type whence whence is a shell builtin castle%
Environment Variables
See environ ...
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.