Path Lists

Path Lists

A typical value for the PATH variable might be:

   /bin:/usr/bin:/usr/local/utils/bin:$HOME/bin

This is a path list of colon separated pathnames to the directories that contain the executable binary files for each command.

The shell will first look for the command that has been entered in the directory /bin. If it is not found there it will then look in the directory /usr/bin and so on until the command is found.

If the command is not found on your path the message

   command_name: command not found

is displayed.


[Home] [Search] [Index] This site maintained by unixhelp@math.rutgers.edu
This page was last updated on September 05, 2006 at 10:29 am and is maintained by webmaster@math.rutgers.edu.
For questions regarding courses and/or special permission, please contact mclausen@math.rutgers.edu.
For questions or comments about this site, please contact help@math.rutgers.edu.
© 2012 Rutgers, The State University of New Jersey. All rights reserved.