From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079079016248.tru64-unix-managers.marc@archive.invalid> From: Jim Fitzmaurice Date: Thu, 21 Oct 1999 21:04:07 +0000 To: tru64-unix-managers Subject: SUMMARY: PATHs using NFS links X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079079016248 Thanks to all, I received numerous responses too many to list. (And they are still flowing in.) They all said basically the same thing. I was right, but it not called a buffer, csh and it's derivatives use a hash table to store the contents of the PATH directories. The command "rehash" will rebuild the hash table which is shorter than "setenv PATH $PATH", which apparently had the same effect buy tricking the shell into thinking your changing the path causing it to rebuild the hash table. Thanks again to all. My original question is below. Thanks again! Jim Fitzmaurice jpfitz@fnal.gov UNIX is very user friendly, It's just very particular about who it makes friends with. Hello, We are experiencing an unusual problem. First of all we have a 4100 Alpha servers running 4.0D PK3. We have an AdvFS called /projects and developers working on projects in this directory like to add directories to their $PATH to test commands. The problem occurs a when new command is added to one of these directories. When the developer logs in everything works as expected, and commands in the PATH are found and run. But when a new command is created in a directory in the PATH you recieve the error: : not found. If they have the "." in their PATH and is in the current directory, they can run new commands, but if they are outside the directory where was created it will not be found. If you log out then log back in the will be found and everything will work normally again. They are in the "tcsh" shell and running "setenv PATH $PATH" will also resolve the problem and we can see the new commands. However, this is an annoying work around, and if you add another new command, you have to do it again. Has anybody ever seen this? I'm a ksh guy and have never experienced this before, could this be a tcsh thing? It almost like command listings in the PATH are stored in a buffer somewhere and you can't find new commands until the buffer is updated. Jim Fitzmaurice jpfitz@fnal.gov UNIX is very user friendly, It's just very particular about who it makes friends with.