Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 19:11:48 -0600
From:      "Mike Meyer" <mwm-dated-1014253909.7301ef@mired.org>
To:        "m" <kamidesu@hotmail.com>
Cc:        questions@freebsd.org
Subject:   Re: where to find source code?
Message-ID:  <15469.45524.672665.399314@guru.mired.org>
In-Reply-To: <121286229@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
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

	<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?15469.45524.672665.399314>