UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: pushdChapter 5
The C Shell
Next: Reference: repeat
 

rehash

rehash

Recompute the hash table for the path variable. Use rehash whenever a new command is created during the current session. This allows the path variable 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.


Previous: Reference: pushdUNIX in a Nutshell: System V EditionNext: Reference: repeat
Reference: pushdBook IndexReference: repeat

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System