souce code

This is a discussion on souce code within the Linux Programming forums, part of the Platform Specific Boards category; where can i get the souce code of linux OS command? e,g commnd ls or less...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    2

    souce code

    where can i get the souce code of linux OS command? e,g commnd ls or less

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,648

  3. #3
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    Quote Originally Posted by Codeplug View Post
    contents of coreutils = ls /bin
    which includes ls
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  4. #4
    Registered User
    Join Date
    Apr 2007
    Location
    Greece
    Posts
    52
    If you are using a debian based flavor, you can try:
    Code:
    apt-get source <package_name>

  5. #5
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    "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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 10:20 AM
  2. Viewing souce code in Visual C++
    By Orion in forum C++ Programming
    Replies: 6
    Last Post: 01-27-2005, 06:39 PM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 03:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21