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 <[EMAIL PROTECTED]>      http://www.delphij.net/
FreeBSD - The Power to Serve!

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to