Date: Wed, 17 Jan 2001 23:14:00 -0600 (CST) From: Mike Meyer <mwm@mired.org> To: "Justin C. Sherrill" <jsherri1@rochester.rr.com> Cc: questions@freebsd.org Subject: Re: source to a command Message-ID: <14950.31640.969843.886561@guru.mired.org> In-Reply-To: <86159251@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Justin C. Sherrill <jsherri1@rochester.rr.com> types: > If I want to find the source to a program that isn't in ports but in the > base distribution (in this case, the 'script' command), where could I look? Apologies for the previous half-finished messages - my fingers slipped :-(. Try whereis: $ whereis cat cat: /bin/cat /usr/share/man/man1/cat.1.gz /usr/src/bin/cat So the source is almost certainly in /usr/src/bin/cat. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14950.31640.969843.886561>