Thread: bash cache?
View Single Post

   
  #2 (permalink)  
Old 02-18-2008, 06:20 PM
Joost Kremers
 
Posts: n/a
Default Re: bash cache?

Kevin wrote:
[after removing gftp and installing new one in /usr/local]
> kevin@naia:~$ gftp
> -bash: /usr/bin/gftp: No such file or directory
>
> Where is bash getting that from?? I know I can get it to run by opening
> another shell, but I want to know why this happens. Anyone know?


'man bash' has all the details. search for 'hash'. bash keeps a table of
full paths to binaries in $PATH. you can empty this table with 'hash
-r'. (see 'man bash', section SHELL BUILTIN COMMANDS.)

--
Joost Kremers
since when is vi an editor? a discussion on vi belongs in
comp.tools.unusable or something... ;-)
Reply With Quote