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
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.
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 ;)
Summary: Hi, The version of my linux is Red Hat Linux 8.0,I have installed on my computer recently.NOw,i want to install the source codes in my system. I typed the following command in the system terminal(I ha...
Summary: I am making a project on vertual memory simualation in my college. I want to refer some vertual memory related stuff in linux source code to know how exactly linux handles this. Can anyone tell me th...