Kolam Ayer MakersLinux Foundations

Kernel

Core Idea

The kernel is the privileged core of the operating system that manages processes, memory, filesystems, devices, and networking.

What The Kernel Does For Your Commands

Commands To Try

uname -a
uname -r
cat /proc/version

uname -r prints the running kernel release. /proc/version exposes kernel build information through the proc filesystem.

Kernel Space And User Space

Kernel code runs with high privilege. Normal commands run in user space and ask the kernel for services through syscalls. This separation is why a bug in grep should not be able to directly overwrite another user’s memory or disk files.

Common Confusions

Proof Check

Run uname -r and identify the kernel release. Then run ps -p 1 -o comm= and identify the first user-space process on this system.

Docs Pointers