type
Shell builtin: type
Tells what a command name stands for.
Usage
type [-afptP] name [name ...]
Description
Tell for each NAME what the shell runs for it: an alias, a keyword, a function, a builtin, or a program file and where that file is.
Options in the simulator
Examples
type ls cd
ls is /usr/bin/ls
cd is a shell builtin type cd
cd is a shell builtin
type ls
ls is /usr/bin/ls
which ls
/usr/bin/ls Where you learn it
Lessons
- Getting help Terminal start