type
all
Display the type of command the shell will execute. Note: All examples are not POSIX compliant. See also: `whereis`, `which`.
More info →Examples (4)
Display all locations containing the specified executable (works only in Bash/fish/Zsh shells)
Display the name of the disk file that would be executed (works only in Bash/fish/Zsh shells)
made by @shridhargupta | data from tldr-pages