3 which \- examine $PATH to see which file will be executed
20 # Tells which \fIa.out\fR will be executed
23 The $PATH shell variable controls the
26 If a command \fIa.out\fR is given, the shell first tries to find an
27 executable file in the working directory.
28 If that fails, it looks in various system directories, such as
29 \fI/bin\fR and \fI/usr/bin\fR.
30 The\fR which\fR command makes the same search and gives the absolute
31 path of the program that will be chosen, followed by other occurrences
32 of the file name along the path.