From owner-freebsd-questions@FreeBSD.ORG Fri Feb 13 04:33:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F260A16A4CF for ; Fri, 13 Feb 2004 04:33:00 -0800 (PST) Received: from dhcpout2.discoveryhealth.co.za (mail02.discoveryhealth.co.za [196.31.127.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3049D43D1D for ; Fri, 13 Feb 2004 04:32:56 -0800 (PST) (envelope-from marcs@discovery.co.za) Received: from dhtrend1.discoveryhealth.co.za (dhtrend1.discoveryhealth.co.za [172.24.158.214]) by dhcpout2.discoveryhealth.co.za (Postfix) with ESMTP id AB91F22DDD8; Fri, 13 Feb 2004 14:32:50 +0200 (SAST) Received: from dhtrend1.discoveryhealth.co.za (dhtrend1.discoveryhealth.co.za [127.0.0.1]) by localhost.discoveryhealth.co.za (Postfix) with ESMTP id 7C4141A0003; Fri, 13 Feb 2004 14:32:48 +0200 (SAST) Received: from dhcpin2.discoveryhealth.co.za (dhcpin2.discoveryhealth.co.za [172.24.158.9]) by dhtrend1.discoveryhealth.co.za (Postfix) with ESMTP id 732971A0002; Fri, 13 Feb 2004 14:32:48 +0200 (SAST) Received: from bsd.discoveryhealth.co.za (unknown [172.24.197.149]) by dhcpin2.discoveryhealth.co.za (Postfix) with ESMTP id 83FBD2285BB; Fri, 13 Feb 2004 14:32:50 +0200 (SAST) Received: by bsd.discoveryhealth.co.za (Postfix, from userid 1332) id A99381CC30; Fri, 13 Feb 2004 14:33:02 +0200 (SAST) Date: Fri, 13 Feb 2004 14:33:02 +0200 From: Marc Silver To: flux Message-ID: <20040213123302.GC54168@discovery.co.za> References: <1163613495.20040213152350@hotbox.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1163613495.20040213152350@hotbox.ru> User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: pkgs managing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2004 12:33:01 -0000 On Fri, Feb 13, 2004 at 03:23:50PM +0300, flux wrote: > How do I know what package does the file belong? If you have portupgrade installed (/usr/ports/sysutils/portupgrade) you can use the pkg_which(1) command. For example: 14:32 (5) > pkg_which /usr/local/bin/animate ImageMagick-5.5.7.15_1 Cheers, Marc