home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10337 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!daemon
  3. From: Kevin W. Hammond <hammond@kwhpc.caseng.com>
  4. Subject: Binary locations
  5. Message-ID: <1992Sep10.021326.27340@athena.mit.edu>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: hammond@kwhpc.caseng.com
  8. Organization: The Internet
  9. Date: Thu, 10 Sep 1992 02:13:26 GMT
  10. Lines: 18
  11.  
  12. It was recently posted that any binaries along your path will be found
  13. and executed.  If a user is running the c-shell, this is not always the
  14. case.  The c-shell keeps a "cache" of the files along your path to avoid
  15. having to go to disk and find a binary every time you try to run a program.
  16. Thus, your path could have /bin in it, and you place a file called "new.cp"
  17. in /bin and then try to run new.cp.  The c-shell will not find the file
  18. because it is not in it's "cache".  What you need to do is type "rehash"
  19. to make the c-shell update it's internal hash table with the new files
  20. that are along your current path.
  21.  
  22. -kwh-
  23. -- 
  24. Kevin W. Hammond
  25. hammond@kwhpc.caseng.com
  26.  
  27.                                "99.9% FAT Free"
  28.  
  29.   CASE Engineering * 575 W. Madison #1601 * Chicago, IL 60661 * (312)902-2161
  30.