Linux and Unix rehash command

rehash commandAbout rehash
rehash syntax
rehash examples
Related commands
Linux and Unix main page

About rehash

On Solaris, the rehash command re-computes the internal hash table of the contents of directories listed in the path environmental variable to account for new commands added.

rehash syntax

rehash

rehash examples

rehash

Re-computes the internal hash table.

csh — The C shell command interpreter.
hashstat — Evaluate the effectiveness of internal hash tables under Solaris.
ksh — The Korn shell command interpreter.
sh — The Bourne shell command interpreter.
unhash — Access internal hash tables under Solaris.