Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Apr 2003 11:06:02 -0500
From:      Walter <walterk1@earthlink.net>
Cc:        Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: paths - a newbie question
Message-ID:  <3E8EFEEA.8080804@earthlink.net>
References:  <3E8EF5F3.2040405@earthlink.net> <16014.64821.83116.220915@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Meyer wrote:
> In <3E8EF5F3.2040405@earthlink.net>, Walter <walterk1@earthlink.net> typed:
> 
>>After installing a port using "pkg_add -r <util>," the only
>>way I know to be able to type <util> at the command prompt
>>to have it execute is either to reboot, or to make an alias
>>for it by hand.  Surely there's a better way.  Is there a
>>way to make the OS make a link auto-majically?  Thanks.
> 
> This is your shell, not the OS. Without knowing which shell you are
> using, I can't say for sure, but you might try the "rehash" command.
> 
> 	<mike

Beauty!  Worked great.  (It's the /bin/csh.)
Maybe someone could add a note on this to the
ports/packages section of the handbook??

Thanks.

Walter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E8EFEEA.8080804>