This is probably really easy and I just can't seem to find it.
I'm moving binaries around between /usr/bin and /usr/sbin, and even though both folders are in my $PATH, moving one binary to the other causes the system to continuously look for it in its original place.
Anyone know why this is, and if there is a command to refresh it?
For bash
should cause the shell to forget about the remembered locations.