AI Space

Operating Systems / Knowledge library

Linux

the OS running (almost) all servers

1991 · Linus Torvalds

Why learn Linux?

Every deployment path ends at a Linux box or container. Shell fluency is the difference between using the cloud and understanding it.

Where it came from

A hobby kernel, joined with GNU tools, that beat commercial Unix. Today it runs the cloud, Android, supercomputers, and your router.

Build your understanding

Work through these exercises in order. Try the task before opening a reference.

  1. Navigate & manipulate files purely in the shell.
  2. Explain permissions (chmod 755) precisely.
  3. Pipe 3 commands together to solve a real task.
  4. Write a bash script with args and error handling.
  5. Trace a slow process with top/ps/journalctl.

Documentation and sources

Connect the ideas

Built on

C

Enables

DockerNode.jsPHPPostgreSQL.NETAzureAWSKubernetesGitCilium

Alternatives

Windows Server

Evolved from

C

Explore next

GitPythonJavaC++COBOLHTTPBashCalicocontainerdElixirHDFSNixOpenClawPodmanPowerShellRed Hat EcosystemVagrantWiresharkZsh

Real World Example

Illustrative business scenario · AI-generated from linked documentation · Not a measured customer case study

Automated Kernel Livepatching for Zero-Downtime Security

Global e-commerce platforms requiring continuous availability.

The business problem

Security vulnerabilities in the Linux kernel necessitate frequent reboots, causing significant service disruption and lost revenue during maintenance windows.

How this topic solves it

Utilizing the Linux kernel's livepatching infrastructure to apply security fixes to the running kernel memory without requiring a system restart, thereby maintaining uptime while ensuring system integrity.

  1. Identify the specific CVE affecting the running kernel version.
  2. Compile the patch module using the kernel build system to match the current running kernel configuration.
  3. Load the compiled patch module into the kernel using the insmod or kpatch-load utility.
  4. Verify the application of the patch by checking the livepatch status in the sysfs interface.
Kernel Livepatching Workflow · Process flow

The flow shows the transition from a vulnerable kernel to a patched state without downtime.

Vulnerable Kernel

Running kernel with security flaw

Patch Module

Compiled binary containing the fix

Livepatch Subsystem

Kernel mechanism for code redirection

Secured Kernel

Running kernel with applied fix

  • Vulnerable Kernel → load module → Livepatch Subsystem
  • Patch Module → inject code → Livepatch Subsystem
  • Livepatch Subsystem → redirect execution → Secured Kernel

Expected business outcome

The platform achieves continuous service availability while remaining protected against critical kernel-level vulnerabilities.

Limitations and checks

Livepatching is limited to specific types of function-level changes; complex structural changes to data types or major architectural shifts cannot be applied via livepatch and still require a full reboot. Check the /sys/kernel/livepatch directory to confirm if a patch is active or if a system restart is pending for more complex updates.

Sources

Generated 2026-10-18 with gemini-3.1-flash-lite. Your assessment includes two questions about this example.

Catalog source: technology-maxxing. This page reproduces the existing catalog’s learning material and source links.