BASH cached the searched path of the executables??!! , WTF....
xxx.sh: command not found
# touch /bin/xxx.sh
# chmod +x /bin/xxx.sh
# rm /bin/xxx.sh
bash: /bin/xxx.sh: No such file or directory
How do I clear Bash's cache of paths to executables?
bash does cache the full path to a command.
To clear the entire cache:hash -rOr just one entry:hash -d svnsyncMore info in help hash and man bash .