Subject: Re: pkg_add doesn't always work
To: None <sudog@sudog.com>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 07/29/2000 20:08:06
On Fri, 28 Jul 2000 sudog@sudog.com wrote:

> > don't forget that unless you log out and back in again, you have to type
> > 'rehash' after installing new programs so they will be found if in your
> > path.
> > 
> > -Dan
> 
> Unless you're using bash. It rehashes automatically. Unless you just
> installed a file, then deleted another one by the same name in your
> same path--then it still tries to look for the file in the old
> location and THEN you have to re-login.
> 
> Marc

You could use "hash -r", rather than logging out and logging back in.



Frederick