Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
What exactly is the kernel? All I know is that it is the core 'skeleton' of the linux os. Is this right? Can the kernel run alone without anything else?

It is the core of the operating system. It talks
to the hardware. It can run by itself, I suppose, but it would be useless to you. You need a shell to communicate with it.

Ok, so the user tells the shell what to do. The shell then communicates with the kernel which communicates with the hardware. What shell does linux use?

There are loads of shells for Linux/Unix. Here are all of the ones I can think of off the top of my head:
Bourne Shell (bsh)
Bourne Again Shell (bash)
C Shell (csh)
Turbo C Shell (tcsh)
Korn Shell (ksh)
Z Shell (zsh)The most popular, I think, is bash. That's the one I use, and is default for most distros.

So what are the major parts Linux is made of? The kernel talks to the hardware. The shell talks to the kernel. The user talks to the GUI which talks to the os. or something like that???? What are the other parts?

Well, the shell and kernel are major parts. I'd say the next most important thing, is the C compiler. Although, you would still be able to use Linux, if you deleted your compiler, so you can't really say it's mandatory. Fileutils is really mandatory as well, which is the commands to do with files (ls, rm, cp, mv etc.). The GUI isn't really a major part, Linux is still fully functional without a GUI. No offence, but I think you should try and work these things out for yourself. I have had no training, and everything I know comes from personal experience, and common sense. Something that will teach you a lot though, is linuxfromscratch.org. It's a book (with online version) that explains how to compile the kernel, shell, and everything you need to build your own Linux distro from scratch.

Cool! So no programming required? All I saw was manually installing the different parts of Linux.

Dude, I cant program and i am a newbie to linux. I would really love to do the lfs project, but i dont know enuf. Ill do it once I get more knowledge.

Yup. Once you learn to use the shell properly, you can do almost anything. The only thing you'd have to write yourself for your own distro, is the bootscripts. The LFS guys have written some which you can download anyway =)

u can create a *linux system* from scratch
without any programming knowledge.
That means instead of getting a distribution,
which installs the contents from it's cd
(through setup), you can create the directory
structure yourself, get all the different
parts required for a gnu/linux system as
tar.gz source, and compile it on your own
machine using your current distro.

Like you know when you are using red hat, there are places where its says "red hat linux" Could I make mine say what I want it too? Like what if I wanted to call it "Mojammad Linux", could I?

Why would RedHat be able to do it, and not you? OK, so you're not a programmer, but the LFS site pratically builds your distro for you anyway! Take a look at your /etc/issue file, look familiar?

The issue file in the /etc directory. It should contain something like this:
Red Hat Linux release 7.1 (Seawolf)
Kernel 2.4.18 on an i686Recognize that? It conveniently looks the same as what you see before the text login prompt.
Actually, I've never tried editing this file, but I assume it gets catted before the login prompt. You will find this a lot with Linux, data and config files are often stored in regular text files, rather than encoded in binary files.

![]() |
DPMS and Slackware
|
Need a Linux guide
|

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