Re: making /usr/local/bin accessible



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

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



Relevant Pages

  • Re: [2.6.21.1] SATA freeze
    ... Something is issuing SMART-related commands which the drive seems to be reacting strangely to. ... Previously on 2.6.15 I was seeing sdb remount as readonly under heavy i/o. ... Device does not support SMART ... [GLTSD (Global Logging Target Save Disable) set. ...
    (Linux-Kernel)
  • Re: Issue
    ... > With my declared array of whichos and commands. ... > In whichos I think SunOS is the key and the value is sol. ... You are right about the %whichos hash, ...
    (perl.beginners)
  • Re: logging executed commands on Cisco switch
    ... logging timestamp ... I would like to configure the switch to do the same. ... information about executed commands is not. ... Any idea what is missing in my switch configuration? ...
    (comp.dcom.sys.cisco)
  • Re: logging command line activity
    ... the logging without it being obvious. ... Karl Vogel and Gerhard Weick. ... including capturing the output from commands, ... Script from Karl Vogel: ...
    (SunManagers)
  • Re: VS crash during addin uninstalling
    ... Try to get the exception message. ... removing commandbar and removing commands. ... > DTE dte = dteObj; ... > //TODO: logging ...
    (microsoft.public.vsnet.ide)