unhash
Remove hashed executable locations. tldr-pages
On several platforms
Several platforms
Remove a specific command from the hash table
unhash commandIdentifyUnhash non-suffix aliases
unhash -a aliasIdentifyUnhash suffix aliases
unhash -s aliasIdentifyUnhash shell functions
unhash -f functionIdentifyUnhash directories
unhash -d directoryIdentifyUnhash every function that matches a pattern
unhash -f -m "pattern"Identify