type
HelpFundamentals In simulator In real LinuxTell what a command name is: builtin, alias or program
Name: type
You can practise it right away in the simulator, and use it in real Linux mode too.
Description
type is a shell builtin that tells how the shell would interpret a name: alias, keyword, function, builtin or a program in PATH. It is more accurate than which, which only searches PATH and can't see aliases or builtins.
Syntax
type NAME...Common options
| -a | Show every match |
| -t | Only the kind: alias, keyword, function, builtin or file |
| -p | Only the path of the executable |