Date: Sat, 16 Feb 2002 08:37:19 +0100 From: Cliff Sarginson <cliff@raggedclown.net> To: questions@freebsd.org Subject: Re: where to find source code? Message-ID: <20020216073719.GB4963@raggedclown.net> In-Reply-To: <15469.45524.672665.399314@guru.mired.org> References: <121286229@toto.iv> <15469.45524.672665.399314@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 15, 2002 at 07:11:48PM -0600, Mike Meyer wrote: > m <kamidesu@hotmail.com> types: > > Hi. I want to find the source code of a command. Where? How? I tried > > looking in the SRC of the 4.5 release in ftp.freebsd.org, but you know what > > is there. I want just the source code of basename. Is there any easy way to > > find it or extract it? Thanks. > > I know, you had the location - and the source - pointed out to you. > > The general solution is whereis: > > guru% whereis basename > basename: /usr/bin/basename /usr/share/man/man1/basename.1.gz /usr/src/usr.bin/basename > Yup, that is a better generic answer mike :) But I had just eaten my last braeburn apple of the day and was feeling kindly disposed before I went to bed :) -- Regards Cliff 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?20020216073719.GB4963>