Date: Fri, 1 Dec 1995 22:54:32 -0500 (EST) From: Chuck Robey <chuckr@glue.umd.edu> To: Alexei Nikolaevich Romanov <alexei@loach.org> Cc: freebsd-questions@freebsd.org Subject: Re: Yet another quickie.. Message-ID: <Pine.SUN.3.91.951201224846.12563J-100000@espresso.eng.umd.edu> In-Reply-To: <199511300048.AAA00516@albion.loach.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 30 Nov 1995, Alexei Nikolaevich Romanov wrote: > I busted my 2.0.5R cat binary, in futzing around with adding a new disk last > night. :) How I managed to do this is a long story. All that aside...where > is the source code to 'cat' located in the tree, which I'd presumed I'd > installed (everything else seems to be there), and, is there a faster and more > efficient way of locating that source that I have missed out on, in my eagerness > for actual functionality. :) > Normally, you do a 'which cat' and it says: /bin/cat then you'd know, if the command was in bin, the source would be in /usr/src/bin, but if you've blown it away, this wouldn't work. In that case, I'd do 'locate cat| grep usr/src |more and inspect the output for something likely looking, like: /usr/src/bin/cat of course, a lot more than that will spew out, but you shouldn't have trouble ignoring things like: /usr/src/lib/libc/sys/ftruncate.c ^^^ > --Thank you! > > Alexei > ============================================================================ Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2 --------------------------------------------------------------------------- The Dilbert Zone is Dilbert's new WWW home! The area features never-before-seen original sketches of Dilbert, a photo tour of Scott Adams' studio, Dilbert Trivia and memorabilia, high school photos and much more!: <URL:http://www.unitedmedia.com/comics/dilbert/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.951201224846.12563J-100000>