Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am a newbie to linux and OS. I just downloaded the source code of linux-2.6.23 online. I want to study the source code to learn the concept of OS kernel. Anybody knows any resource online that can guide me to understand linux kernel source code?
well no... you'll not be able to understand the kernel by reading it. the kernel contains well well over a million lines of code, most of which is highly optimized and uncommented to any huge extent. there are plenty of guides about writing your own kernel, e.g. http://www.osdever.net/tutorials/bas....php?the_id=12 and there are guides about the linux kernel, e.g. http://kernelbook.sourceforge.net/pkbook.html but prinring out the source code over 6 trees worth of paper and sitting down with a lot of coffee isn't going to help you.
Last edited by acid_kewpie; 10-25-2007 at 02:36 PM.
Thanks for your reply. I know it is hard for me to master the entire kernel source code in a short time (or never). But I have read quite a few books talking about OS, and I am kind of reaching a bottleneck of getting any further. So I decide to deep into the linux kernel source code a little bit as an example to get a concrete feeling about how the process scheduling and memory management stuffs are implemented inside the OS. I just wondering whether there are any documentations online that give direct explanation to the source code in any degree of detail. I think it is wise to ask you guys as experienced programmer about some guideline. Thanks again.
Who said we were experienced programmers? Most of us probably could not program our way out of the proverbial wet paper bag.
Knowing how to set up and maintain systems is a far cry from knowing how to design them.....
Have you read this book?
Also, check out the O'Reilly website.
One of the best ways to learn about the kernel is to write a device driver that plugs into the kernel. To do a thorough job of this will have you wandering through an awful lot of the kernel's system structures.
Further, at the end of the journey, you'll have something useful - and who knows? - it might actually wind up in the kernel tree.
And yes, I do kernel programming and that is how I learned the Linux kernel. Unfortunately, my clients won't permit me to release the code under the GPL, and since they pay the bills...
Distribution: Ubuntu, Debian, Various using VMWare
Have you read a book about operating systems in general? There are two excellent ones that I own "Operating Systems" by Bill Stallings and "Operating Systems Concepts" by Silbershatz, Galvin and Gange.
These books go into the theory of process control, memory management, file systems, etc. That way, you have a good grounding in Operating System Theory, and then you can look at the Linux source and see what you have been learning about.