making /usr/local/bin accessible

Milos Prudek prudek at bvx.cz
Thu May 31 14:14:53 UTC 2007


> 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.

You are right, just by logging in and out the problem disappeared, and yes, I 
can list the cache and "hash -l" now says:

builtin hash -p /usr/local/bin/hnb hnb

Cool, thank you, I have no idea that such a cache exists.

-- 
Milos Prudek




More information about the ubuntu-users mailing list