From owner-freebsd-questions Tue Nov 24 14:36:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16480 for freebsd-questions-outgoing; Tue, 24 Nov 1998 14:36:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from phoenix.welearn.com.au (suebla.lnk.telstra.net [139.130.44.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16473 for ; Tue, 24 Nov 1998 14:36:50 -0800 (PST) (envelope-from sue@phoenix.welearn.com.au) Received: (from sue@localhost) by phoenix.welearn.com.au (8.9.1/8.9.0) id JAA01797; Wed, 25 Nov 1998 09:36:19 +1100 (EST) Message-ID: <19981125093615.03773@welearn.com.au> Date: Wed, 25 Nov 1998 09:36:15 +1100 From: Sue Blake To: Kenneth Chiu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: what's this file? References: <19981124171254.23210@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: ; from Kenneth Chiu on Tue, Nov 24, 1998 at 12:09:05PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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