Skip to content
BENIBIX Learn

Kernel

Development🖥️ Platforms & OSOperating Systems

Also known as OS Kernel, Linux Kernel

The core of an OS. It runs the chip, the memory and each device.

Think of it like

Think of it like the engine of a car. You never see it, but nothing moves without it.

Example

Jack types uname -r on his server. It prints the version of the Linux kernel that is running.

Why it matters

When the kernel fails, the whole machine stops, not just one app. Its updates often fix big safety holes.

Definition

The kernel is the core of an operating system. It is the first part to load, and it stays in charge. It decides which program uses the chip, and for how long. It hands out memory and keeps programs from touching each other's memory. It also talks to the hardware through drivers. Everything else in the system asks the kernel for help.

Example code

console
$ uname -s
Linux
Ask which kernel is running. Add -r to see its version.
The kernel is the wide box in the middle. Every app's request passes through it.

Common mistake

Thinking the kernel is the whole system. The desktop, the tools and the apps are separate parts on top.

Key takeaways

  1. 1
    In charge. It loads first and runs the machine.
  2. 2
    Keeps apps apart. One program cannot spoil another's memory.
  3. 3
    Talks to hardware. It uses drivers to reach each device.

Compare

Learn it properly