From owner-freebsd-questions Thu Nov 9 19:36:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from damoe.wireless-isp.net (damoe.wireless-isp.net [208.61.227.212]) by hub.freebsd.org (Postfix) with ESMTP id 0C00137B479 for ; Thu, 9 Nov 2000 19:36:31 -0800 (PST) Received: from localhost (keen@localhost) by damoe.wireless-isp.net (8.11.1/8.11.1) with ESMTP id eAA3e8K79576; Thu, 9 Nov 2000 22:40:08 -0500 (EST) (envelope-from keen@damoe.wireless-isp.net) Date: Thu, 9 Nov 2000 22:40:08 -0500 (EST) From: David Raistrick To: Tim McMillen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Command not found. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 9 Nov 2000, Tim McMillen wrote: > Why do i have to run rehash to allow the command to be found even though > it is in the correct place? Thanks, Rehash causes your shell to refresh its "cache" of available commands. Instead of having to search the disk each time you type a command, the shell builds a cache of available commands at login. Rehash tells it to rebuild this cache. Since the command was not there when the cache was built, the shell doesnt know how to find it. later...david -- David Raistrick Digital Wireless Communications davidr@dwcinet.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message