Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 14:42:19 +0800
From:      LI Xin <delphij@delphij.net>
To:        Pranav Sawargaonkar <pranav.sawargaonkar@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Source code for user utilities
Message-ID:  <45AC73CB.6010103@delphij.net>
In-Reply-To: <5007e1a40701152213l15f72b02sd6d15c8442958e91@mail.gmail.com>
References:  <5007e1a40701152213l15f72b02sd6d15c8442958e91@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <delphij@delphij.net>	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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45AC73CB.6010103>