Linux and Unix rehash command

Quick links

About rehash
Syntax
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.

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.