unhash
unhash [ -adfms ] name ...
Remove the element named name from an internal hash table. The default is remove elements from the command hash table. The -a option causes unhash to remove regular or global aliases.
Option |
Description |
-a
|
Removes regular or global aliases.
|
-d
|
Removes named directories.
|
-f
|
Removes shell functions.
|
-m
|
The arguments are taken as patterns (should be quoted) and all elements of the corresponding hash table with matching names will be removed.
|
-s
|
Removes suffix aliases.
|