home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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 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 .


Previous: Reference: pushd UNIX in a Nutshell: System V Edition Next: Reference: repeat
Reference: pushd Book Index Reference: 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