From owner-freebsd-questions Sun Jun 24 17: 7:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from maild.telia.com (maild.telia.com [194.22.190.101]) by hub.freebsd.org (Postfix) with ESMTP id 5303737B401 for ; Sun, 24 Jun 2001 17:07:13 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maild.telia.com (8.11.2/8.11.0) with ESMTP id f5P07B513587 for ; Mon, 25 Jun 2001 02:07:11 +0200 (CEST) Received: from ertr1013.student.uu.se (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id CAA14086 for ; Mon, 25 Jun 2001 02:07:11 +0200 (CEST) Received: (qmail 67054 invoked by uid 1001); 25 Jun 2001 00:06:35 -0000 Date: Mon, 25 Jun 2001 02:06:35 +0200 From: Erik Trulsson To: Cynic Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pkg_info - get only names of installed packages Message-ID: <20010625020634.A66928@student.uu.se> Mail-Followup-To: Cynic , freebsd-questions@FreeBSD.ORG References: <5.1.0.14.2.20010625013324.02747bc8@mail.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20010625013324.02747bc8@mail.cz> User-Agent: Mutt/1.3.19i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jun 25, 2001 at 01:36:22AM +0200, Cynic wrote: > Hi there, > > yes, I've read man pkg_info, but it seems like there's > no (easy) way to get a list of just the names of installed > packages. > > What is the pkg_info equivalent of rpm -qa ? There doesn't seem to be an equivalent in pkg_info but you can get the same effect with: pkg_info | cut -f 1 -d " " -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message