rehash built-in command for tcsh: Recompute internal hash table

Format

rehash

Description

rehash causes the internal hash table of the contents of the directories in the path variable to be recomputed. This is needed if new commands are added to directories in path while you are logged in. This should only be necessary if you add commands to one of your own directories, or if a systems programmer changes the contents of one of the system directories. Also flushes the cache of home directories built by tilde (~) expansion.

Related information

hashstat, tcsh