which
Locate a program in the user's path. More information: https://manned.org/which.
- 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}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.