Date: Mon, 25 Jun 2001 02:06:35 +0200 From: Erik Trulsson <ertr1013@student.uu.se> To: Cynic <cynic@mail.cz> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pkg_info - get only names of installed packages Message-ID: <20010625020634.A66928@student.uu.se> In-Reply-To: <5.1.0.14.2.20010625013324.02747bc8@mail.cz> References: <5.1.0.14.2.20010625013324.02747bc8@mail.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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 " " -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010625020634.A66928>