souce code [Archive] - C Board

PDA

View Full Version : souce code


firperfect
03-23-2008, 02:17 AM
where can i get the souce code of linux OS command? e,g commnd ls or less

Codeplug
03-23-2008, 10:14 AM
http://www.gnu.org/software/coreutils/

gg

Jaqui
03-25-2008, 07:00 AM
http://www.gnu.org/software/coreutils/

gg

contents of coreutils = ls /bin
which includes ls :D

myle
04-10-2008, 06:20 PM
If you are using a debian based flavor, you can try:
apt-get source <package_name>

idelovski
04-11-2008, 07:21 PM
"Linux Programming by Example" by Arnold Robbins walks you through the code
of V7 ls. So, its's not GNU ls, yet should be fine as a start. I got my copy last week
so I haven't reached that ls chapter yet, but author's comments of ls code seem
easy to follow.