Source code for user utilities
LI Xin
delphij at delphij.net
Tue Jan 16 07:05:28 UTC 2007
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 linux
> does ?
Nope.
Cheers,
--
Xin LI <delphij at delphij.net> http://www.delphij.net/
FreeBSD - The Power to Serve!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070116/fc748446/signature.pgp
More information about the freebsd-hackers
mailing list