Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2009 16:46:49 +0000
From:      "Daniel Bye" <>
Subject:   Re: Registry corrupt?
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 23, 2009 at 05:02:27PM +0100, Wojciech Puchar wrote:
> it's not windows. there are fortunately no registry in unix.
> your problem explanation is too short to help you.
> describe something more.
> and what you mean "rehash"?

`rehash' is a builtin in some shells - csh and zsh come to mind. It is
used to cause the shell to reread the PATH environment variable and
rebuild its internal hash (hence rehash) list of items in the path. The
hash is used by the shell as a mapping between program names and their
canonical location on the file system. It's what lets you say `ls' instead
of having to say `/bin/ls', etc.

If you install a new port then such shells will not immediately pick up the
new executable - which is when you need to `rehash'. bash handles these
cases differently, obviating the need for the rehash command.


Daniel Bye
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v2.0.10 (FreeBSD)



Want to link to this message? Use this URL: <>