Date: Wed, 25 Nov 1998 09:36:15 +1100 From: Sue Blake <sue@welearn.com.au> To: Kenneth Chiu <chiuk@cs.indiana.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: what's this file? Message-ID: <19981125093615.03773@welearn.com.au> In-Reply-To: <Pine.BSF.3.96.981124120243.17877A-100000@bakery.chiu.nom>; from Kenneth Chiu on Tue, Nov 24, 1998 at 12:09:05PM -0500 References: <19981124171254.23210@welearn.com.au> <Pine.BSF.3.96.981124120243.17877A-100000@bakery.chiu.nom>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 24, 1998 at 12:09:05PM -0500, Kenneth Chiu wrote:
> On Tue, 24 Nov 1998, Sue Blake wrote:
> > What's the easiest way to tell what package a file on my system came from?
>
> One way is to just search all the packages contents files for the
> file in question. Might be an easier way, though.
>
> find /var/db/pkg -name '+CONTENTS' | xargs grep <name>
That does it pretty well, thanks :-)
--
Regards,
-*Sue*-
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?19981125093615.03773>
