From owner-freebsd-questions Thu Apr 1 20:43:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 3FA2314BD7 for ; Thu, 1 Apr 1999 20:43:45 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id XAA09092; Thu, 1 Apr 1999 23:43:31 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199904020443.XAA09092@cc942873-a.ewndsr1.nj.home.com> Subject: Re: help w/ source In-Reply-To: <19990402011901.10408.rocketmail@web113.yahoomail.com> from MadMan at "Apr 1, 99 05:19:01 pm" To: madman593@yahoo.com (MadMan) Date: Thu, 1 Apr 1999 23:43:31 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG MadMan wrote, > i was recently looking for the source of various > programs and came across a few that I couldn't find. > If you could please tell me where to find the source > for the following items on my freeBSD 3.0 box I would > greatly appreciate it. If that is not possible can you > please point me in the right direction on the Internet? > Thank you. > > /usr/bin/sperl4.036 /usr/src/gnu/usr.bin/perl/sperl > /usr/bin/atq > /usr/bin/atrm > /usr/bin/batch % ls -il /usr/bin/atq 7770 -r-sr-xr-x 4 root bin 20480 Feb 28 21:46 /usr/bin/atq % find /usr/bin -inum 7770 -ls 7770 40 -r-sr-xr-x 4 root bin 20480 Feb 28 21:46 /usr/bin/at 7770 40 -r-sr-xr-x 4 root bin 20480 Feb 28 21:46 /usr/bin/atq 7770 40 -r-sr-xr-x 4 root bin 20480 Feb 28 21:46 /usr/bin/atrm 7770 40 -r-sr-xr-x 4 root bin 20480 Feb 28 21:46 /usr/bin/batch That is, these all are hardlinks to a single file. Notice the first three you name are all in there. You will find the source under '/usr/src/usr.bin/at/.' > /usr/bin/chpass > /usr/bin/chfn > /usr/bin/chsh > /usr/bin/ypchpass > /usr/bin/ypchfn > /usr/bin/ypchsh > /usr/bin/yppasswd % ls -li /usr/bin/chpass 7781 -r-sr-xr-x 6 root bin 36864 Feb 28 21:46 /usr/bin/chpass % find /usr/bin -inum 7781 -ls 7781 72 -r-sr-xr-x 6 root bin 36864 Feb 28 21:46 /usr/bin/chpass 7781 72 -r-sr-xr-x 6 root bin 36864 Feb 28 21:46 /usr/bin/chfn 7781 72 -r-sr-xr-x 6 root bin 36864 Feb 28 21:46 /usr/bin/chsh 7781 72 -r-sr-xr-x 6 root bin 36864 Feb 28 21:46 /usr/bin/ypchpass 7781 72 -r-sr-xr-x 6 root bin 36864 Feb 28 21:46 /usr/bin/ypchfn 7781 72 -r-sr-xr-x 6 root bin 36864 Feb 28 21:46 /usr/bin/ypchsh > /usr/bin/crontab /usr/src/usr.sbin/cron/crontab > /usr/bin/lpq > /usr/bin/lpr > /usr/bin/lprm % ls /usr/src/usr.sbin/lpr Makefile filters lpc lpr pac SMM.doc filters.ru lpd lprm common_source lp lpq lptest > /usr/bin/newaliases > /usr/bin/mailq > /usr/sbin/purgestat lrwxrwxrwx 1 root bin 18 Mar 1 11:45 /usr/bin/mailq -> /usr/sbin/sendmail lrwxrwxrwx 1 root bin 18 Mar 1 11:45 /usr/bin/newaliases -> /usr/sbin/sendma (Note: I have a later installation of sendmail, yours may be hardlinks.) It's all there. HTH. HAND. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message