Date: Sat, 19 Jun 2004 17:27:02 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Bruce Hunter <bhunter@solisix.com> Cc: freebsd-questions@freebsd.org Subject: Re: Application commands without having to restart Message-ID: <20040619142702.GE76742@gothmog.gr> In-Reply-To: <1087105316.48711.3.camel@solid.solisixoffice.com> References: <1087105316.48711.3.camel@solid.solisixoffice.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-06-13 01:41, Bruce Hunter <bhunter@solisix.com> wrote: > Hello everyone, > > I just installed a port. Usually, a application has a define command to > start it and can be run from anywhere on the command line. When you > first install an application. The command isn't available to the system > until after a reboot. Nah, not really. You can always run it with its full pathname: tcsh> sh /usr/local/etc/rc.d/foo.sh start > How do I make the system aware? Refresh the commands list? > Any reading material on this? Are you using tcsh as your login shell? If yes, just run: tcsh> rehash This should 'refresh' tcsh's idea of what commands are available. I don't remember about zsh, but I think it has a 'rehash' command too. GNU bash should take care of this automagically. - Giorgos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040619142702.GE76742>