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.
The kernel is, technically, an executable file. Notably, though, it contains no external links (to libc or otherwise) and uses no system calls (since it provides it itself). User-mode-linux is a good example of how it is just an executable.
I understand that, but I dont get how you can use gcc to create an operating system file. can every C compiler create a file that can operate a computer directly? I always thought that compilers create excutable files that can be used BY an operating system and not AS an operating system...
the kernel is not the whole operating the operating systen
the operating systen has proper structure to work with
now the work that it does like(it requires all the libraries and the config files to work)
read.write and the support of hardware etc is there in the kernel
thanks, I think I'm starting to get it now... I looked in all the source around but couldn't find where it all starts. Is there a main() function that is the first to run? I couldn't find anything like that in init/main.c (which I understand is the first file to be compiled). I want my computer, just for fun, to print a welcome messege when linux starts, I was thinking about these lines:
printk("Welcome to my Linux\n");
for (i=0; i<10000000; i++) ;
whats is a good function to put these line in so I would see this messege as the first thing printed out?