CmdID

CmdID / Commands

whence

A Zsh builtin to indicate how a command would be interpreted. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Interpret command, with expansion if defined as an alias (similar to the command -v builtin)

whence "command"Identify

Display type of command, with location if defined as a function or binary (equivalent to the type and command -V builtins)

whence -v "command"Identify

Display type of command, with content of shell functions instead of location (equivalent to which builtin)

whence -c "command"Identify

Display type of command, with content of shell functions and all occurrences on command path (equivalent to the where builtin)

whence -ca "command"Identify

Search only the $PATH for command, ignoring builtins, aliases, or shell functions (equivalent to the where command)

whence -p "command"Identify