Hamilton LaboratoriesHamilton C shell 2012User guideBuiltin utilities

rehash

Oregon Coast

rehash
Previous | Next

        Reinitialize Path Hashing

Usage:  rehash [-h-]

   Hamilton C shell uses a hashing mechanism to speed up searches of
   the path directories.  If you're performing system administration
   work, moving files in the path directories, the hash mechanism may
   not always reflect the latest changes you've made.  The rehash
   command allows you to re-initialize the hash by re-reading all the
   path directories and setting nohashing = 0.  (The unhash command
   can be used to turn hashing off.)

Options:

   -h   Help.  (This screen.)
   --   End of options.

(The slash, "/", may be used instead of a minus to introduce
options.  To specify a different set of characters to introduce
options, use the SWITCHCHARS environmental variable.)

Previous | Next