commands.sh

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 the type of a command

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)

Display the type of a specific command, alias/keyword/function/builtin/file (works only in Bash/fish shells)

made by @shridhargupta | data from tldr-pages