which - shows the full path of (shell) commands..
On this page we only give you a short introduction with a few examples. We encourage you to read the manual (
"which is a Unix command used to identify the location of executables." which
Output an executable's location
$ which mkdir /usr/bin/mkdir $ which pwd /usr/bin/pwd