HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

where — Report all known instances of a command. It could be an executable in the `$PATH` environment variab

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandreportinstancesallwherecliknown

Problem

How to use the where command: Report all known instances of a command. It could be an executable in the $PATH environment variable, an alias, or a shell builtin. More information: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.

Solution

where — Report all known instances of a command. It could be an executable in the $PATH environment variable, an alias, or a shell builtin. More information: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.

Find all instances of a command:
where {{command}}

Code Snippets

Find all instances of a command

where {{command}}

Context

tldr-pages: common/where

Revisions (0)

No revisions yet.