which

which

which is a command that will provide the location of a program in the directory system. For example if you need to know where the who program was you could type :

which who

/usr/bin/who