Hash Fast, Bash Smart

hash is a useful built-in shell command used for caching commands/executables from your $PATH variable. This helps bash/zsh avoid having to rescan your PATH each time you enter a command during the find and execution process . This command is great for resetting/regenerating the PATH commands cache with the -r flag. For example, python3’s virtualenv uses this to manage your command cache after…