Computing.Net > Forums > Linux > Linux source code

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Linux source code

Reply to Message Icon

Name: Vibhu
Date: October 16, 2002 at 08:17:35 Pacific
OS: Readhat 7.3
CPU/Ram: P4 1.5GHz
Comment:

I am curious to understand the original 'C' source code for shell (Command Line Interpreter) of Linux. I tried going in to /usr/src/linux. But, I couldn't figure out which one to seacrh for. Can some one help me how and where exactly I can walk through the source code for understanding various components (not only the kernel) of linux operating system. Thanks in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: evan
Date: October 16, 2002 at 20:52:16 Pacific
Reply:

Source for Bash (which is probably your shell) is availiable from GNU http://www.gnu.org/directory/bash.html

Kernel == kernel.org

/usr/src/linux is where the kernel source is GENERALLY stored. What do you want to understand about it??? The whole thing is like 30 megs as a tar.bz2... That's a lot of code. The directory names should be pretty revealing... I think there's an 'fs' directory (file systems). they're all labeled like that. Look around. Explore. "Sometimes, the quest for knowldedge is more important than its possesion." Or something like that. I think Einstien said that. Could be someone else, though.

I sincerly doubt you'll find any sort of tutorial on bash's source code. Or even the kernel for that matter. If you can read C, you'll be able to figure it out. If not, learn C ;)


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Linux source code

Linux source code www.computing.net/answers/linux/linux-source-code/10874.html

Linux source codes install problem www.computing.net/answers/linux/linux-source-codes-install-problem/19050.html

source code www.computing.net/answers/linux/source-code/1157.html