Date: Fri, 21 Jul 2006 18:06:30 -0400 (EDT) From: Andy Reitz <reitz@eecs.cwru.edu> To: Joshua Lewis <joshua.lewis@familyfunzone.net> Cc: freebsd-questions@freebsd.org Subject: Re: Reload commands Message-ID: <Pine.SOL.4.53.0607211804450.22695@brak> In-Reply-To: <20060721113359.e72c8bd2fa3c8298c4bf39a8c4c61b77.4bb023dd09.wbe@email.secureserver.net> References: <20060721113359.e72c8bd2fa3c8298c4bf39a8c4c61b77.4bb023dd09.wbe@email.secureserver.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.53.0607211804450.22695>