danielby at slightlystrange.org
Fri Jan 23 08:47:00 PST 2009
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.
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090123/1ff0cb6e/attachment.pgp
More information about the freebsd-questions