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

    Shell source code


    I need the shell source code (in C) for Linux. I found a sh-utils directory with different source code files in C such as man, tty, pwd source codes. Still I can't find the main shell source code that manages the calls to the various commands (man, tty, pwd, etc.)

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    -->
    There are many different shells in Linux/Unix/BSD. The one most commonly used in Linux is the Bourne Again Shell (BASH). The source code for that can be found here:

    http://www.gnu.org/software/bash/
    Registered Linux user #270181

Posting Permissions

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