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_16090_man which general.txt < prev    next >
Encoding:
Text File  |  1994-09-24  |  580 b   |  23 lines

  1.  
  2. NAME
  3.  
  4. which - which copy of a command will be used
  5.  
  6. SYNOPSIS
  7.  
  8. which command
  9.  
  10. DESCRIPTION
  11.  
  12. "which" examines the command-search-path, and returns the location of the command which would be executed.
  13.  
  14. The which command first checks to see if the specified command is internal to the nShell application.  Each directory in the search path is then examined to see if it contains an external command or shell script of the given name.  Any 'TEXT' file with a matching name is assumed to be a shell script.
  15.  
  16. RETURN CODES
  17.  
  18. <0    Error or command not found
  19. 0    Success
  20.  
  21. SEE ALSO
  22.  
  23. path, pathchk