After I move an executable file which I've recently executed (or more commonly, after I uninstall something from somewhere and install a different version somewhere else), bash can't find it, even if it's still on the PATH.
Example:
find
sudo mv /usr/bin/find /usr/local/bin
find
Results in:
bash: /usr/bin/find: No such file or directory
This is really annoying because it's happened to me dozens of times. How can I stop this happening?