From owner-freebsd-questions Thu Nov 9 19:26: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id B784E37B4C5 for ; Thu, 9 Nov 2000 19:26:06 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eAA3Q4718526; Thu, 9 Nov 2000 19:26:04 -0800 (PST) Date: Thu, 9 Nov 2000 19:26:04 -0800 From: Alfred Perlstein To: Tim McMillen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Command not found. Message-ID: <20001109192604.P11449@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from timcm@umich.edu on Thu, Nov 09, 2000 at 10:15:14PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Tim McMillen [001109 19:15] wrote: > > Hi, if anybody could answer this i would appreciate it. When I install > something from the ports, I can verify that the executeable is in > /usr/local/bin and that /usr/local/bin is in my path. But I still get > Command not found error. > I happened to remember that rehash fixed that and it did, but the > manpage for rehash wasn't helpful (it sent me to builtin). I'm using csh. > Why do i have to run rehash to allow the command to be found even though > it is in the correct place? Thanks, csh caches all the executables in your path, rehash tells it to rescan those directories. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message