From owner-freebsd-current@FreeBSD.ORG Sun Apr 5 20:33:04 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2498B1065672 for ; Sun, 5 Apr 2009 20:33:04 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: from smtp003.apm-internet.net (smtp003.apm-internet.net [85.119.248.52]) by mx1.freebsd.org (Postfix) with SMTP id 7605D8FC0C for ; Sun, 5 Apr 2009 20:33:03 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: (qmail 85741 invoked from network); 5 Apr 2009 20:06:20 -0000 Received: from unknown (HELO titania.njm.me.uk) (86.148.214.26) by smtp003.apm-internet.net with SMTP; 5 Apr 2009 20:06:20 -0000 Received: from titania.njm.me.uk (localhost [127.0.0.1]) by titania.njm.me.uk (8.14.3/8.14.3) with ESMTP id n35K6JwX006411 for ; Sun, 5 Apr 2009 21:06:19 +0100 (BST) (envelope-from njm@njm.me.uk) Received: (from njm@localhost) by titania.njm.me.uk (8.14.3/8.14.3/Submit) id n35K6Eqr006410 for current@freebsd.org; Sun, 5 Apr 2009 21:06:14 +0100 (BST) (envelope-from njm@njm.me.uk) Date: Sun, 5 Apr 2009 21:06:14 +0100 From: "N.J. Mann" To: current@freebsd.org Message-ID: <20090405200614.GB5095@titania.njm.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.2-PRERELEASE User-Agent: mutt-NJM (2009-02-20) Cc: Subject: FWD: Re: How to find out which ports contains a specified command. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2009 20:33:04 -0000 [For some reason this did not get sent to the list originally, so for the archives...] In message , Peter Wang (peterwang@vip.qq.com) wrote: > > for example, after i installed pfsense, which is based on freebsd > release 7.1, i found adduser command is missing. > > so how to find out which ports contains `adduser' command? > thanks for your replies. % uname -sr FreeBSD 7.2-PRERELEASE % whereis adduser adduser: /usr/sbin/adduser /usr/share/man/en.ISO8859-15/man8/adduser.8 /usr/src/usr.sbin/adduser So, it is part of the base system. This can be confirmed by searching the on-line manual, i.e. http://www.freebsd.org/cgi/man.cgi?query=adduser&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE&format=html Cheers, Nick. PS I think you should have asked this on questions@. --