From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 02:36:22 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 1E45916A41A for ; Mon, 5 Nov 2007 02:36:22 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout1.easydns.com [205.210.42.66]) by mx1.freebsd.org (Postfix) with ESMTP id 00D8713C48A for ; Mon, 5 Nov 2007 02:36:21 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from lilypad.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id A7043483C3 for ; Sun, 4 Nov 2007 21:41:41 -0500 (EST) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by lilypad.shadypond.com (Postfix) with ESMTP id C6804B83F for ; Mon, 5 Nov 2007 02:36:03 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Mon, 5 Nov 2007 02:36:00 +0000 References: <472E77AC.9060200@net24.co.nz> <18222.31287.897833.3437@jerusalem.litteratus.org> In-Reply-To: <18222.31287.897833.3437@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711050236.00987.lists-fbsd@shadypond.com> 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 02:36:22 -0000 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?