Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2001 09:32:29 +0100
From:      "Anthony Atkielski" <anthony@atkielski.com>
To:        <y3k@gti.net>, <questions@freebsd.org>
Subject:   Re: Is root's search path special?
Message-ID:  <021301c16f42$6991c4d0$0a00000a@atkielski.com>
References:  <XFMail.20011115184815.y3k@gti.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark writes:

> After installing a program, if you're running tcsh,
> you have to run 'rehash' to search your path for
> executables. Or you can log out and back in or something.

That appeared to fix it.  When I logged in again this morning after a mysterious
system crash occurred last night, I was able to run the program with no problem.
I had assumed that the path is searched for every command execution, but
apparently that is not the case.

What does "rehash" do?  The man page is no help.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?021301c16f42$6991c4d0$0a00000a>