In the last episode (May 12), Aaron Angel said:
> I got around to looking through the source and such, and noticed I
> can't seem to find the source to uptime...what distribution is it in
> on the CDROM?

$ whereis uptime
uptime: /usr/bin/uptime /usr/share/man/man1/uptime.1.gz
$ ls -l /usr/bin/uptime
-r-xr-xr-x  2 root  wheel  15671 Feb 14 13:54 /usr/bin/uptime*
$ l -li /usr/bin/uptime
519301 -r-xr-xr-x  2 root  wheel  15671 Feb 14 13:54 /usr/bin/uptime*
$ find /usr/bin -inum 519301
/usr/bin/w
/usr/bin/uptime
$ whereis w
w: /usr/bin/w /usr/share/man/man1/w.1.gz /usr/src/usr.bin/w
$

uptime is actually w, and the source to w is in /usr/src/usr.bin/w .

-- 
        Dan Nelson
        [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to