Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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,744
    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
    i am using the CentOS release 5.4

  4. $spacer_open
    $spacer_close
  5. #4
    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
    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
  •