rehash
Recompute the hash table for the path
variable. Use rehash
whenever a new command is created during the current session. This allows the shell to locate and execute the command. (If the new command resides in a directory not listed in path
, add this directory to path
before rehashing.) See also unhash
.