Date: Sat, 5 Apr 2003 17:38:13 +0100 From: Bruce Cran <bruce@cran.org.uk> To: Ceri Davies <ceri@FreeBSD.org> Cc: questions@FreeBSD.org Subject: Re: paths - a newbie question Message-ID: <20030405163813.GA56305@fourtytwo.brucec.backnet> In-Reply-To: <20030405162501.GB76469@submonkey.net> References: <3E8EF5F3.2040405@earthlink.net> <16014.64821.83116.220915@guru.mired.org> <3E8EFEEA.8080804@earthlink.net> <20030405162501.GB76469@submonkey.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 05, 2003 at 05:25:01PM +0100, Ceri Davies wrote: > On Sat, Apr 05, 2003 at 11:06:02AM -0500, Walter wrote: > > 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. > > > > Beauty! Worked great. (It's the /bin/csh.) > > Maybe someone could add a note on this to the > > ports/packages section of the handbook?? > > I don't wish to be rude, but maybe you could read your shells' manual page, > or a book for new UNIX users ? > > The handbook is rather unwieldy as it is, and is really meant for FreeBSD > specific things (hence the name). Sometimes we do hand hold in that document, > but there has to be a limit. > > As I said, please don't take offence. > It's already in the documentation for FreeBSD - try looking in the book 'For People New to Both FreeBSD and Unix' (http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/index.html) :) Under the 'Next Steps' chapter it does indeed tell you to 'rehash' after installing new software. Bruce Cran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030405163813.GA56305>