From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 08:25:03 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 0FB6637B401 for ; Sat, 5 Apr 2003 08:25:03 -0800 (PST) Received: from shrike.submonkey.net (pc1-cdif2-5-cust38.cdif.cable.ntl.com [81.101.150.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 215B643F93 for ; Sat, 5 Apr 2003 08:25:02 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.12) id 191qTV-000NFy-00; Sat, 05 Apr 2003 17:25:01 +0100 Date: Sat, 5 Apr 2003 17:25:01 +0100 From: Ceri Davies To: Walter Message-ID: <20030405162501.GB76469@submonkey.net> References: <3E8EF5F3.2040405@earthlink.net> <16014.64821.83116.220915@guru.mired.org> <3E8EFEEA.8080804@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E8EFEEA.8080804@earthlink.net> User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: Questions 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:25:03 -0000 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. Ceri --