which
Locate a program in the user's path.
- Search the PATH environment variable and display the location of any matching executables:
which {executable}
- If there are multiple executables which match, display all:
which -a {executable}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).