Forrest logo
back to context overview

whence

List of commands for whence:

  • whence:tldr:36813 whence: Display type of {{command}}, with location if defined as a function, or binary (equivalent to the `type` and `command -V` builtins).
    $ whence -v "${command}"
    try on your machine
    explain this command
  • whence:tldr:653b0 whence: Interpret {{command}}, with expansion if defined as an `alias` (similar to the `command -v` builtin).
    $ whence "${command}"
    try on your machine
    explain this command
  • whence:tldr:7da99 whence: Search only the `PATH` for {{command}}, ignoring builtins, aliases or shell functions (equivalent to the `where` command).
    $ whence -p "${command}"
    try on your machine
    explain this command
  • whence:tldr:94f9c whence: Same as above, but show all occurrences on command path (equivalent to the `where` builtin).
    $ whence -ca "${command}"
    try on your machine
    explain this command
  • whence:tldr:988af whence: Same as above, except display content of shell functions instead of location (equivalent to `which` builtin).
    $ whence -c "${command}"
    try on your machine
    explain this command
back to context overview