type
Display the type of command the shell will execute.
- Display the type 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}}