making /usr/local/bin accessible
Dave Howorth
dhoworth at mrc-lmb.cam.ac.uk
Thu May 31 13:23:51 UTC 2007
Milos Prudek wrote:
> The hnb binary
> is in /usr/local/bin. Under the superuser, hnb runs without specifying the
> full path. Under non-privileged user, running hnb without specifying the full
> path results in this error message:
>
> -bash: /usr/bin/hnb: No such file or directory
>
> I have never seen this behaviour under Mandriva. What configuration is
> responsible for this?
One possibility: some shells, including bash, have a cacheing mechanism
for the paths to commands (see the 'hash' built-in for details). Try
'hash -l' to see if it is cached and 'hash -r' to delete it if so.
Cheers, Dave
More information about the ubuntu-users
mailing list