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