Ah yes! When we use which with a command, the Terminal gives us the location of the executable file.
which
Psst: we can even use the which command with itself.
Didn't we already use whois for something else?
whois