tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: PATHs using NFS links
@ 1999-10-21 21:04 Jim Fitzmaurice
  0 siblings, 0 replies; only message in thread
From: Jim Fitzmaurice @ 1999-10-21 21:04 UTC (permalink / raw)
  To: tru64-unix-managers

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:

	<new_cmd>: not found.

If they have the "." in their PATH and <new-cmd> is in the current
directory, they can run new commands, but if they are outside the directory
where <new_cmd> was created it will not be found.
If you log out then log back in the <new_cmd> 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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-10-21 21:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-21 21:04 SUMMARY: PATHs using NFS links Jim Fitzmaurice

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox