type

Display the type of command the shell will execute. Note: all examples are not POSIX compliant. More information: https://manned.org/type.

type command

type -a command

type -p command

type -t command