Re: Application commands without having to restart
On Sat, Jun 19, 2004 at 05:27:02PM +0300, Giorgos Keramidas wrote: > I don't remember about zsh, but I think it has a 'rehash' command too. > > GNU bash should take care of this automagically. zsh needs the 'rehash' command; bash does not. --Mac -- Julian "Mac" Mason [EMAIL PROTECTED] Computer Science '06 (909)-607-3129 Harvey Mudd College ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Application commands without having to restart
Enter rehash command -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bruce Hunter Sent: Sunday, June 13, 2004 1:42 AM To: [EMAIL PROTECTED] Subject: Application commands without having to restart 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. How do I make the system aware? Refresh the commands list? Any reading material on this? Thanks for your help Bruce ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Application commands without having to restart
On 2004-06-13 01:41, Bruce Hunter <[EMAIL PROTECTED]> 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Application commands without having to restart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruce Hunter 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. | | How do I make the system aware? Refresh the commands list? | Any reading material on this? | | Thanks for your help | Bruce The only time you need to reboot an *nix machine is to modify the hardware or to change the currently running kernel. In csh, type rehash to refresh the list of applications found in your PATH. - -- Jeremy Faulkner http://www.gldis.ca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFA1EzKfb0Lle2MIEIRAoOEAJ9WQl8854zEQyd9fcBfsHaeQQmHQwCeMy6C C9AV5BLb/fGlaziujuy7sv8= =Ot1z -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Application commands without having to restart
Bruce Hunter 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. How do I make the system aware? Refresh the commands list? Any reading material on this? If you have the standard shell (csh) then a simple % rehash would do. Thanks for your help Bruce ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Application commands without having to restart
> How do I make the system aware? Refresh the commands list? > Any reading material on this? # rehash Cheers, sb > > Thanks for your help > Bruce > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"