Interpret Command Type - Check Command Path | Online Free DevTools by Hexmos
Interpret command type with whence. Determine location of commands, search command path and show function content. Free online tool, no registration required.
whence
A Zsh builtin to indicate how a command would be interpreted. More information: https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html#index-whence.
- Interpret
command, with expansion if defined as analias(similar to thecommand -vbuiltin):
whence "{{command}}"
- Display type of
command, with location if defined as a function, or binary (equivalent to thetypeandcommand -Vbuiltins):
whence -v "{{command}}"
- Same as above, except display content of shell functions instead of location (equivalent to
whichbuiltin):
whence -c "{{command}}"
- Same as above, but show all occurrences on command path (equivalent to the
wherebuiltin):
whence -ca "{{command}}"
- Search only the
PATHforcommand, ignoring builtins, aliases or shell functions (equivalent to thewherecommand):
whence -p "{{command}}"