Premise: In the process of modifying
.bashrc, and going through the bash manual for shopt online page for the different shell options that can be handled by
shopt, I came across the option
checkhash, which according to the description:
checkhash If this is set, Bash checks that a command found in the hash table exists before trying to execute it. If a hashed command no longer exists, a normal path search is performed.
- Is this option useful, i.e, does it increase the performance of the bash commands?
- If, yes, why is the default value set to
- If, no, why does the option exist in the first place, is it something to do with older hardware?