At 11:45 AM 6/18/2003 +0200, Flemming Greve Skovengaard wrote:
John T. Williams wrote:
anyone know how or where I could get the source code for basic linux
programs like "ls" and or "mkdir" or "rm" ?
[...]
The basic fileutils (ls, cp, rm, etc) can be found at:
http://www.gnu.org/software/fileutils/fileutils.html

You might also want to take a look at:
http://www.gnu.org/software/coreutils/

GNU's webpage holds many if not all of the Linux utils.
http://www.gnu.org/


Good options all. An additional one is the source packages associated with whichever Linux distribution you use.

In Debian, as an example, you can use the command "dpkg-query -S filename" to find the package that holds any file actually on your system. You can then use "apt-get source packagename" to install it.

I imagine the other packaging systems (or at least RPM) have analogous capabilities. Slackware CDs used to include a complete filelist that you could grep to match an app to its .tgz package.



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to