which

which - locate a command


Display pathname of the file:

which gcc

Display all matching pathnames of each argument:

which -a vim firefox python