[pappy@chmodx]:$ man type

$ type

Describe how a command would be interpreted

DOCUMENTEDShell builtinsUbuntu 24.04 LTS baseline

Synopsis

type [-afptP] name [name ...]

What it does

Examples

See how a command resolves
type ls
Show whether a command is a builtin
type cd

Important details

These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration. For exact option semantics, the linked authoritative documentation is the source of truth.