From owner-freebsd-questions@FreeBSD.ORG Thu Dec 15 05:59:56 2005 Return-Path: X-Original-To: questions@freebsd.org 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 09A4816A41F for ; Thu, 15 Dec 2005 05:59:56 +0000 (GMT) (envelope-from tuxgirl@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1DC043D4C for ; Thu, 15 Dec 2005 05:59:54 +0000 (GMT) (envelope-from tuxgirl@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so592739wra for ; Wed, 14 Dec 2005 21:59:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l9B2joQWzccjD5oUJYE55LYn0SEJQ7XOdulx3Nc/BurSpMs04/RzJtjneoheRJoeJsRMv3BbIdeEDmeGpKB9MP5jeo0eyIEkp/cIlbKUIdkTULZNci//FWrImudYUmvzk+/8V+/hPfMJ99pkA5bWLrvBnnGTol0vAR9yy+3JKUM= Received: by 10.65.211.12 with SMTP id n12mr921899qbq; Wed, 14 Dec 2005 21:59:54 -0800 (PST) Received: by 10.65.194.11 with HTTP; Wed, 14 Dec 2005 21:59:54 -0800 (PST) Message-ID: <6e4453640512142159x52751ec8hc8d03dafe5191dba@mail.gmail.com> Date: Wed, 14 Dec 2005 22:59:54 -0700 From: TuxGirl To: David Scheidt , Matthew Seaman In-Reply-To: <20051215055315.GA21685@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6e4453640512142139y1768b426m5ca21b9a87cbc7ca@mail.gmail.com> <20051215055315.GA21685@panix.com> Cc: questions@freebsd.org Subject: Re: pkg_add not installing lsof (and other programs)? (newbie problem) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 05:59:56 -0000 > You can confirm that the package was installed by running the pkg_info > command, which returns a list of all installed packages and ports. > You can also look in /var/db/pkg, which is where the package database > is kept. Assuming you've got it installed (which you should, pkg_add > returns error messages...) you've run into a difference between the > root shells in FreeBSD and Linux. Cool! > The FreeBSD root user shell is tcsh. tcsh, unlike bash, scans the > $PATH enviornmental variable at login to find everything, and builds a > table in memory so it can quickly find and execute commands. If you > install a program, the shell won't know about it. You can force it to > rebuild the table by issuing the 'rehash' command. > Type: > > rehash Thanks to both of you. That worked! Is that in the handbook someplace that I missed? Also, if this is a question you get often, I apologize for asking it again. Thanks again! ~Erin