Bash caches the PATH lookup for every command it runs, and hash -r forgets that cache so the next call re-searches PATH. Run it after installing a new binary that shadows an old one, or after moving executables. Plain hash lists the cached entries.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.