[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

RE: [LI] Bash caches pathnames



this is perfectly normal.
type "hash -r" to loose all your ommands cache
(try "help hash" on bash prompt)

pascal

> -----Original Message-----
> From: Manoj Victor Mathew [mailto:mvm@xxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, September 21, 1999 12:20 PM
> To: Linux India Mailing List
> Subject: [LI] Bash caches pathnames
>
>
>
>
> A very strange thing happened just now!
>
> I was (re)installing GnuPG. Previously it was installed in /usr/bin
> directory. But this time when I recompiled, I installed it in
> /usr/local/bin. Soon after install, when I typed 'gpg' at the bash
> prompt on tty2, it said
>
> bash: /usr/bin/gpg: No such file or directory
>
> Just before installing gpg (from tty1), I had executed gpg
> from the old
> installation (at tty2). Bash is obviously caching details about the
> location of previously executed programs (though I don't know
> why). BTW
> this occurred with Bash 2.01.0 that came with Debian/GNU Linux 2.1.
>
>
> --
> Manoj Victor Mathew
> Cochin, India.
>
>
> --------------------------------------------------------------------
> For more information on Linux in India visit
> http://www.linux-india.org/
> The Linux India mailing list does
> not accept postings in HTML format.
>   
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------