From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 15:59:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5D016A417 for ; Mon, 5 Nov 2007 15:59:34 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 1347013C4A5 for ; Mon, 5 Nov 2007 15:59:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lA5FuBmb062551; Mon, 5 Nov 2007 10:56:11 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id lA5FuB4U062550; Mon, 5 Nov 2007 10:56:11 -0500 (EST) (envelope-from jerrymc) Date: Mon, 5 Nov 2007 10:56:11 -0500 From: Jerry McAllister To: Pollywog Message-ID: <20071105155611.GC62364@gizmo.acns.msu.edu> References: <472E77AC.9060200@net24.co.nz> <18222.31287.897833.3437@jerusalem.litteratus.org> <200711050236.00987.lists-fbsd@shadypond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200711050236.00987.lists-fbsd@shadypond.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to compare what is in the ports tree with what is installed? 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: Mon, 05 Nov 2007 15:59:34 -0000 On Mon, Nov 05, 2007 at 02:36:00AM +0000, Pollywog wrote: > On Monday 05 November 2007 02:04:39 Robert Huff wrote: > > Brett Davidson writes: > > > ie. If I had a particular version of the ports tree on a server, > > > how could I check to see if any of the programs in that tree were > > > actually installed? > > > > > > Is there a simple command or sequence of commands to do this? > > > > dir /var/d/pkg | grep > > My Linux systems have a "dir" command but my FreeBSD does not. > Is there something I need to install? Yes, just install your own alias. For example, in my .cshrc file for the accounts I use I put: alias dir ls -lAF and then I have a dir. I also alias ls to: alias ls ls -F and lo to: alias lo logout and numerous others. That is the normal way of creating these simple things. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"