which
Show the full path of (shell) commands.
Cheatsheet
# Search the `PATH` environment variable and display
# the location of any matching executables
which <𝗘𝗫𝗘𝗖𝗨𝗧𝗔𝗕𝗟𝗘>
# If there are multiple executables which match, display all
which -a <𝗘𝗫𝗘𝗖𝗨𝗧𝗔𝗕𝗟𝗘>
References
- tldr InBrowser.App. (n.d.). https://tldr.inbrowser.app/pages/common/which
- manned. (n.d.). which. https://manned.org/which