Bash shell has a built-in command hash -r
to reset the internal $PATH
cache for executables.
When is it necessary to use this command?
bashpath
Bash shell has a built-in command hash -r
to reset the internal $PATH
cache for executables.
When is it necessary to use this command?
Best Answer
So when the cached/stored information are not anymore updated or valid you may need to reset it.
Read more on this nice answer on Unix stackexchange.