[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
[LI] Bash caches pathnames
- Subject: [LI] Bash caches pathnames
- From: Raj Mathur <raju@xxxxxxx>
- Date: Tue, 21 Sep 1999 21:00:45 +0530 (IST)
hash -r is probably what you need. This used to be a problem in csh
many years ago for me, I thought bash had gone beyond this.
- -- Raju
>>>>> "Manoj" == Manoj Victor Mathew <mvm@xxxxxxxxxxxxxxxxxx> writes:
Manoj> A very strange thing happened just now!
Manoj> I was (re)installing GnuPG. Previously it was installed in
Manoj> /usr/bin directory. But this time when I recompiled, I
Manoj> installed it in /usr/local/bin. Soon after install, when I
Manoj> typed 'gpg' at the bash prompt on tty2, it said
Manoj> bash: /usr/bin/gpg: No such file or directory
Manoj> Just before installing gpg (from tty1), I had executed gpg
Manoj> from the old installation (at tty2). Bash is obviously
Manoj> caching details about the location of previously executed
Manoj> programs (though I don't know why). BTW this occurred with
Manoj> Bash 2.01.0 that came with Debian/GNU Linux 2.1.
Manoj> -- 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.
------------------------------