source code

Patrick R. McManus mcmanus at ducksong.com
Fri Apr 26 08:42:54 EDT 2002


[Anthony J. Gabrielson: Thu, Apr 25, 2002 at 04:07:39PM -0400]
> Hello,
> 	Where can I find the source for the utilites in /bin like ls, cp,
> etc...

assuming you have an RPM based system, the general form "rpm -qf file"
will tell you what RPM any file came from.

e.g.

/home/mcmanus>rpm -qf /bin/ls
fileutils-4.1-4

Then you can go to rpmfind.net, type "fileutils" into the search box
and find the source rpm fileutils-4.1-4 that is associated with your
distribution.

-P



More information about the Discuss mailing list