which - locate a command
which [ filename ] ...
which returns the files which would be executed had its arguments been given as commands. Debian GNU/Linux 15 May 1997 WHICH(1)