Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 14:01:46 +1030
From:      Greg Lehey <grog@FreeBSD.org>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        FBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: Where does command rehash live
Message-ID:  <20020109140146.G77497@wantadilla.lemis.com>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOOEMPCLAA.barbish@a1poweruser.com>
References:  <LPBBIGIAAKKEOEJOLEGOOEMPCLAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday,  8 January 2002 at 22:19:07 -0500, Joe & Fhe Barbish wrote:
> When I issue the rehash from within a script it get
> not found.
> If I give it's full path I think it will work.
>
> Problem is I don't know how to find the directory where rehash lives.

rehash is a kludge to make the shell forget paths it "knew".  It
shouldn't be necessary in scripts.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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?20020109140146.G77497>