Command
whichExplanation
which shows the full path of shell commands by searching PATH.
Examples
Find Python location
which pythonShow all matches in PATH
which -a pythonwhichwhich shows the full path of shell commands by searching PATH.
Find Python location
which pythonShow all matches in PATH
which -a python