Linux rehash command
Updated: 05/04/2019 by Computer Hope
On the Solaris operating system, 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.
Syntax
rehash
Examples
rehash
Re-computes the internal hash table.
Related commands
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.