On Mon, 2004-11-15 at 14:37, Mark Janssen wrote:
> On Mon, 2004-11-15 at 09:26 -0500, Michael Marsh wrote:
> > On Mon, 15 Nov 2004 14:09:26 +0000, Chris Lale
> > <[EMAIL PROTECTED]> wrote:
> > > According to Google, rehash is a Linux/Unix command; but I cannot find
> > > it on my system. Perhaps it has been deprecated?
> > 
> > It's a csh-ism.  If you're using a sh-derivative (eg, bash), you
> > shouldn't need to do anything.  My experience has always been that
> > when a new executable is added to my path, bash finds it.  I would
> > guess that it does some sort of hashing implicitly, and the change to
> > the directory marks the cached info as dirty.
> 
> I think the bash equivalent is 'hash -r'

Ah, yes. Its in the bash(1) man page. I've never had to use it though.

Chris.
-- 
Chris Lale <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to