Computing.Net > Forums > Linux > What is the kernel?

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.

What is the kernel?

Reply to Message Icon

Name: mojammad
Date: June 27, 2002 at 07:41:46 Pacific
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: Beldar
Date: June 27, 2002 at 09:55:35 Pacific
Reply:

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.


0

Response Number 2
Name: mojammad
Date: June 27, 2002 at 11:32:03 Pacific
Reply:

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?


0

Response Number 3
Name: Tom
Date: June 27, 2002 at 15:05:46 Pacific
Reply:

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.


0

Response Number 4
Name: Jake
Date: June 27, 2002 at 15:07:24 Pacific
Reply:

Linux can use many shells. BASH, Korn, ZSH, Ash, tcsh, and others. BASH is the default.


0

Response Number 5
Name: mojammad
Date: June 27, 2002 at 16:20:29 Pacific
Reply:

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?


0

Related Posts

See More



Response Number 6
Name: Tom
Date: June 27, 2002 at 18:30:01 Pacific
Reply:

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.


0

Response Number 7
Name: mojammad
Date: June 28, 2002 at 07:04:04 Pacific
Reply:

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


0

Response Number 8
Name: mojammad
Date: June 28, 2002 at 07:15:45 Pacific
Reply:

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.


0

Response Number 9
Name: Tom
Date: June 28, 2002 at 07:40:56 Pacific
Reply:

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 =)


0

Response Number 10
Name: mojammad
Date: June 28, 2002 at 08:10:33 Pacific
Reply:

So i can build a Linux distro without programming knowledge?


0

Response Number 11
Name: Balram Adlakha
Date: June 28, 2002 at 08:24:39 Pacific
Reply:

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.


0

Response Number 12
Name: mojammad
Date: June 28, 2002 at 15:14:10 Pacific
Reply:

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?


0

Response Number 13
Name: Tom
Date: June 28, 2002 at 18:30:44 Pacific
Reply:

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?


0

Response Number 14
Name: mojammad
Date: June 28, 2002 at 22:02:15 Pacific
Reply:

Where can that file be found? What do u mean does it look familiar?


0

Response Number 15
Name: Tom
Date: June 29, 2002 at 14:40:35 Pacific
Reply:

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 i686

Recognize 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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

DPMS and Slackware Need a Linux guide



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: What is the kernel?

What is the BIG difference between Linux and Unix (HP-UX, Solaris, AIX, etc?) www.computing.net/answers/linux/what-is-the-big-difference-between-linux-and-unix-hpux-solaris-aix-etc/902.html

what is the best linux for my 486 laptop? www.computing.net/answers/linux/what-is-the-best-linux-for-my-486-laptop/802.html

what is the COPY command in Linux ? www.computing.net/answers/linux/what-is-the-copy-command-in-linux-/2478.html