Describe how a name is interpreted
low risk
Tells you whether a word is an alias, function, builtin, keyword or file.
| Flag | Meaning |
|---|---|
-a | Show all matches |
-t | Print only the kind |
type -a lsShow alias and binary · explain & risk-check →type cdshows it is a builtin · explain & risk-check →Reference text is hand-written and may be incomplete — check man type for your version. Test destructive commands on a non-production system first.