If you move/change a shell script how to make bash forget about the old location?
E.g. I had a wrapper for ctags in /home/chris/bin which was called ctags. I discovered that I only needed the wrapper for Solaris and not for Linux so I moved my ctags from /home/chris/bin to /home/chris/bin/solaris which isn't on my path when I'm on a Linux system.
After moving it when I try running 'ctags' I get the error:-
bash: /home/chris/bin/ctags: No such file or directory
i.e. bash has remembered the path to ctags to save time, how do I tell it to start afresh? (There is a ctags on the PATH at /usr/bin/ctags)
In C-shell it's rehash but (not surprisingly) that doesn't work in bash.