home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Tools / nShell™ 1.0.3 / nShell / bin / man / man.rsrc / TEXT_16070_man path general.txt < prev    next >
Encoding:
Text File  |  1994-09-24  |  737 b   |  25 lines

  1.  
  2. NAME
  3.  
  4. path - define a command search path
  5.  
  6. SYNOPSIS
  7.  
  8. path "this:is:path:one/this:is:path:two"
  9.  
  10. DESCRIPTION
  11.  
  12. The "path" command allows the user to specify a command search path.  The path is stored in the $PATH shell variable.  Directories are separated by ":", and paths are separated by "/".  A single ":" may be used to specify the current directory, as in "path :/this:is:path:two" .
  13.  
  14. Any variables used in the path are evaluated when you issue the path command.  In the command "path $HOME:bin", the value of $HOME is evaluated immediately.  If you change the value of $HOME later, the path will continue to point to the original :bin directory.
  15.  
  16. The default path is ":/$HOME:bin".
  17.  
  18. RETURN CODES
  19.  
  20. <0    Error
  21. 0    Success
  22.  
  23. SEE ALSO
  24.  
  25. which