Find the answer to your Linux question:
Results 1 to 5 of 5
I very often want to know where their source files ,because i find the long time....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! ibelieveme's Avatar
    Join Date
    Apr 2011
    Posts
    30

    Source files where the who and ls command?


    I very often want to know where their source files ,because i find the long time.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    In most of Linux distros, source code is not bundled with installation disks and you have to download it manually. You can download source code of selective or all commands. You have to enable src repositories in your package manager.
    Which Linux distro are you using?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! ibelieveme's Avatar
    Join Date
    Apr 2011
    Posts
    30
    i am using the CentOS release 5.4

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    The source for the main distro packages in CentOS 5.4 is here.

    The who and ls utils are part of the coreutils package.

    For the source to the other repos (centosplus, extras, etc.), just go here and browse to the respective repo dir, and select the SRPMS/ directory.

  6. #5
    Just Joined! ibelieveme's Avatar
    Join Date
    Apr 2011
    Posts
    30
    Thank you very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •