3. What is the purpose of the PATH variable?
a. Set up your PATH variable so that it causes the shell to search the following directories in order:
? /usr/local/bin
? /usr/bin/Xl1
? /usr/bin
? /bin
? /usr/kerberos/bin
? Your own bin directory (usually bin or .bin in your home directory)
? The working directory

b. If a file named doit is in /usr/bin and also in your ~/bin, which one doit will be executed? (Assume that you have execute permission for both of the files.)
c. If your PATH variable is not set to search the working directory, how can you execute a program located there?
d. Which command can you use to add the directory /user/games to the end of the list of directories in your PATH?
Xman Reviewed by Xman on . Can anyone answer this? 3. What is the purpose of the PATH variable? a. Set up your PATH variable so that it causes the shell to search the following directories in order: ? /usr/local/bin ? /usr/bin/Xl1 ? /usr/bin ? /bin ? /usr/kerberos/bin ? Your own bin directory (usually bin or .bin in your home directory) ? The working directory Rating: 5