From owner-freebsd-questions@FreeBSD.ORG Fri Jul 21 22:07:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ACC416A4DF for ; Fri, 21 Jul 2006 22:07:01 +0000 (UTC) (envelope-from reitz@eecs.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA0C043D45 for ; Fri, 21 Jul 2006 22:06:59 +0000 (GMT) (envelope-from reitz@eecs.cwru.edu) Received: from brak ([::ffff:129.22.151.63]) (TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Fri, 21 Jul 2006 18:06:58 -0400 id 000ABEA9.44C15002.0000531B Date: Fri, 21 Jul 2006 18:06:30 -0400 (EDT) From: Andy Reitz X-X-Sender: reitz@brak To: Joshua Lewis In-Reply-To: <20060721113359.e72c8bd2fa3c8298c4bf39a8c4c61b77.4bb023dd09.wbe@email.secureserver.net> Message-ID: References: <20060721113359.e72c8bd2fa3c8298c4bf39a8c4c61b77.4bb023dd09.wbe@email.secureserver.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Reload commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 22:07:01 -0000 On Fri, 21 Jul 2006, Joshua Lewis wrote: > > How do I tell my system to reload what ever folder has my commands? If > I install something from ports for instance cheetah (I am trying to > figure out how to read a web page without installing gnome or kde or > something) how do I execute the command. I don't know where it is. So > the only way I know is to reboot the system. Hi Joshua, I think the exact answer to your question depends on the shell that you are using. For bash, I think you can just type 'rehash'. For tcsh, I think if you re-source your .cshrc (or .tcshrc) file, then the cache will be refreshed. You could also try simply exiting your shell, and re-logging in. It is very rare to need to reboot in UNIX. Good luck, -Andy Reitz.