kernel

The core of an operating system that controls the hardware and decides what every program is allowed to do.

In more detail

Programs never touch the hardware directly: they ask the kernel through system calls to read files, open network connections or start other processes. The kernel enforces permissions, shares out memory and processor time, and keeps processes apart. Linux is a kernel, and macOS has its own as part of Darwin.

Examples

uname -s names the running kernel, such as Linux or Darwin.
Programs never touch the hardware directly: they ask the kernel through system calls to read files, open network connections or start other processes. The kernel schedules processes, protects memory, enforces permissions and moves packets through the network stack. It supplies mechanisms, not meaning: it does not interpret your command line or decide what a file contains.
A shell can be valid while the system call it makes is denied, and a healthy kernel can still host a broken application.
Volatility reads kernel structures out of a memory image; auditd records kernel system calls.

Related terms

Taught in

References

Certification courses