Re: making /usr/local/bin accessible



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

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users