Skip to main content

Display the type of command the shell will execute.

# To display the type of a command:
type <command>

# To display all locations containing the specified executable:
type -a <command>

# To display the name of the disk file that would be executed:
type -p <command>