On 10 November 2011 21:06, Michael Schreckenbauer <grim...@gmx.de> wrote: > Hi, > > Am Donnerstag, 10. November 2011, 20:46:28 schrieb Lavender: >> Could anyone tell me that where I can find the source >> code of software on my system? Such as ls, cd .etc. > > first you have to find out to which package the binary you are interested in > belongs to, eg > ~ $ equery b /bin/ls > * Searching for /bin/ls ... > sys-apps/coreutils-8.14 (/bin/ls) >
Humm , I guess he just want to look for the source code of gnu coreutils, just download the gnu coreutils. http://ftp.cn.debian.org/gnu/coreutils/ uncompress it , then you can find them all . > (If you don't have equery, install gentoolkit) > > Use the command > emerge -f =<cat>/<package>-<version> > to download the sources to your distfiles. > (if they are already there, the command above downloads nothing) > > Unpack them to somewhere in your $HOME, done. > > Best, > Michael > > > -- ________________________ Yes, I use Debian GNU/L wolf python london(WPL) Do as you soul should do ! ________________________