Thread: Linux source code

  1. #1
    Microsoft Lover afreedboy's Avatar
    Join Date
    Nov 2003
    Posts
    189

    Linux source code

    I wanna see how is the source code of ls and more program in linux. I hope as Linux is open source, I would be able to find it on the net. I tried googling, but I don't get source code. Anyone could provide me a link?

  2. #2
    Stinking it up. StinkyRyan's Avatar
    Join Date
    Jun 2004
    Posts
    61
    What linux do you have if you installed everything it should be in your box somewhere.

  3. #3
    Obsessed with C chrismiceli's Avatar
    Join Date
    Jan 2003
    Posts
    501
    Look here for the file-utils package:
    http://www.gnu.org/software/fileutils/fileutils.html
    and for the core-utils:
    http://www.gnu.org/software/coreutils/coreutils.html
    ls is in file-utils and core-utils containts that package.
    Help populate a c/c++ help irc channel
    server: irc://irc.efnet.net
    channel: #c

  4. #4
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    Quote Originally Posted by StinkyRyan
    What linux do you have if you installed everything it should be in your box somewhere.
    yeah but he probably doesn't have the source; he has it compiled(especially for something like redhat)

  5. #5
    Microsoft Lover afreedboy's Avatar
    Join Date
    Nov 2003
    Posts
    189
    What linux do you have if you installed everything it should be in your box somewhere.
    My linux is SuSe9 Professional. Please tell me where could I find source code.


    Look here for the file-utils package:
    You misunderstood. The links you gave me show how to use ls. That is like man page. I want to see how ls had been written. I want to see source code of ls.

  6. #6
    .
    Join Date
    Nov 2003
    Posts
    307
    No, those pages do get you to download. The GNU site is very wordy, because they try to make each page do a lot of things.

    Read the entire page - look for the word download highlighted as a link.

  7. #7
    Obsessed with C chrismiceli's Avatar
    Join Date
    Jan 2003
    Posts
    501
    Quote Originally Posted by jim mcnamara
    No, those pages do get you to download. The GNU site is very wordy, because they try to make each page do a lot of things.

    Read the entire page - look for the word download highlighted as a link.
    He is right, look here for an exact link
    http://ftp.gnu.org/pub/gnu/coreutils...s-5.2.1.tar.gz
    Now just untar and ungunzip it, then have fun finding what you need.
    Help populate a c/c++ help irc channel
    server: irc://irc.efnet.net
    channel: #c

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 27
    Last Post: 10-25-2007, 10:47 AM
  2. Need software to help to understand C source code
    By Kincider in forum C++ Programming
    Replies: 1
    Last Post: 09-28-2006, 09:44 PM
  3. S-Extract, Self Extractor w/ Source Code
    By CrazyNorman in forum C++ Programming
    Replies: 3
    Last Post: 09-03-2006, 11:50 AM
  4. Source code....
    By Darkcoder in forum Game Programming
    Replies: 8
    Last Post: 03-07-2005, 08:58 PM
  5. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM