type
Display the kind of command the shell will execute.
- Display the kind of a command:
type {{command}}
- Display all locations containing the specified executable:
type -a {{command}}
- Display the name of the disk file that would be executed:
type -p {{command}}