Subject: RE: lynx browser
To: Steve Revilak <revilak@umbsky.cc.umb.edu>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 04/09/2000 12:13:34
On Fri, 7 Apr 2000, Steve Revilak wrote:
> The flip side -- if you add an executable then immediately try to use
> it, the shell won't know it's there. You need to force it to rebuild
> it's command table by giving the "rehash" command.
>
> Logging out then logging back in will also have the same effects.
> Another alternative is to fully qualify the name to the executable.
>
> Now for my own curiosity -- so bash/sh behave similarly here?
Bash doesn't even have a "rehash", nor is it needed. Bash has a "hash"
builtin, which is interesting: "hash" by itself displays the hash
list, but "hash" can also be used to stuff the table, bypassing the
path, e.g.: "hash -p /usr/pkg/bin/ntpq ntpq".