Which

This is a command that helps your localize the path where any command is, if it is located in the PATH variable of the user running which command. Usage

which command-list

Options

-a
Displays all the paths found and not just the first one
--show-dot
Displays the ./ instead of the absolute pathname

Exit Status

   0      if all specified commands are found and executable

   1      if one or more specified commands is  nonexistent  or  not  exe?
          cutable

   2      if an invalid option is specified