$ curl cheat.sh/
# type
# Display the type of command the shell will execute.
# More information: <https://manned.org/type>.

# 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

$
Follow @igor_chubin cheat.sh tldr