From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 08:38:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE15337B404; Sat, 5 Apr 2003 08:38:20 -0800 (PST) Received: from grassmarket.ucs.ed.ac.uk (grassmarket.ucs.ed.ac.uk [129.215.166.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2102E43FA3; Sat, 5 Apr 2003 08:38:14 -0800 (PST) (envelope-from s9905155@sms.ed.ac.uk) Received: from fourtytwo.brucec.backnet (12266209.resnet.ed.ac.uk [10.6.0.100] (may be forged))h35GcCT13848; Sat, 5 Apr 2003 17:38:12 +0100 (BST) Received: from fourtytwo.brucec.backnet (localhost.fourtytwo.brucec.backnet [127.0.0.1])h35GcDHN056353; Sat, 5 Apr 2003 17:38:13 +0100 (BST) (envelope-from bruce@fourtytwo.brucec.backnet) Received: (from bruce@localhost) by fourtytwo.brucec.backnet (8.12.9/8.12.9/Submit) id h35GcDWX056352; Sat, 5 Apr 2003 17:38:13 +0100 (BST) Date: Sat, 5 Apr 2003 17:38:13 +0100 From: Bruce Cran To: Ceri Davies Message-ID: <20030405163813.GA56305@fourtytwo.brucec.backnet> References: <3E8EF5F3.2040405@earthlink.net> <16014.64821.83116.220915@guru.mired.org> <3E8EFEEA.8080804@earthlink.net> <20030405162501.GB76469@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030405162501.GB76469@submonkey.net> User-Agent: Mutt/1.5.4i cc: questions@FreeBSD.org Subject: Re: paths - a newbie question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 16:38:21 -0000 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 typed: > > > > > >>After installing a port using "pkg_add -r ," the only > > >>way I know to be able to type 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