From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 16 07:05:28 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC17416A412 for ; Tue, 16 Jan 2007 07:05:28 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 5E4A413C461 for ; Tue, 16 Jan 2007 07:05:28 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id A4941EB68C1; Tue, 16 Jan 2007 14:44:01 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id TC22m0KKB7JV; Tue, 16 Jan 2007 14:43:48 +0800 (CST) Received: from [10.217.12.122] (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 3C8B3EB68BC; Tue, 16 Jan 2007 14:43:48 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=ehJCNTDOnbcnYoxcOg8o41v8w3+2bNeSWwFz3xjalJxbyp3u2Ep/mO4rLfCn5R+Z9 tBnHckg9eDGlXv9NuYPWQ== Message-ID: <45AC73CB.6010103@delphij.net> Date: Tue, 16 Jan 2007 14:42:19 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Pranav Sawargaonkar References: <5007e1a40701152213l15f72b02sd6d15c8442958e91@mail.gmail.com> In-Reply-To: <5007e1a40701152213l15f72b02sd6d15c8442958e91@mail.gmail.com> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig2BF45B2A0DDA40A2EBC741CF" Cc: freebsd-hackers@freebsd.org Subject: Re: Source code for user utilities X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2007 07:05:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2BF45B2A0DDA40A2EBC741CF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Pranav Sawargaonkar wrote: > Hi > Can any one tell me from where i can get source code of user level > utilities > (eg. ls, top etc.) Use 'which foo' to get the directory. Typically you can rely on the following map: /bin -> /usr/src/bin /sbin -> /usr/src/sbin /usr/bin -> /usr/src/usr.bin /usr/sbin -> /usr/src/usr.sbin Sometimes if they are contributed software then the source code would be under /usr/src/contrib, /usr/src/crypto, etc. > Does FreeBSD also uses coreutils for these user utilities like li= nux > does ? Nope. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig2BF45B2A0DDA40A2EBC741CF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFrHPLOfuToMruuMARAyybAJsEhyaIVFs34AG2SkZBPiUn/eFiNwCffTKW 5iTvFlVa7q5ql5+Vr3KMjVY= =Hw67 -----END PGP SIGNATURE----- --------------enig2BF45B2A0DDA40A2EBC741CF--