Reveal whether a name is an alias, builtin, function, or file.
Section: Navigation and Discovery
Show how the shell resolves a command
bash
bash
type lsExplanation
Important when shell aliases or functions change behavior.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Navigation and Discovery