Loading...
Select Version
&pagelevel(4)&pagelevel
The built-in whence command in the POSIX shell sh specifies how each name is to be specified as a command name.
Syntax
whence[ -pv] name... |
produces a more detailed report.
does a path search for name even if name is an alias, a function, or a reserved word.
Name of the command to be interpreted. |
Exit status
0 | The command was executed correctly. |
>0 | No command named name was found. |
Example
Various whence output possibilities
|
See also
type |