Architecture of Linux (original) (raw)

Last Updated : 29 May, 2026

The Linux operating system architecture defines how different components of the system interact with each other to manage hardware resources, run applications, and provide a stable and secure computing environment. Linux follows a layered architecture, where each layer has a specific role and responsibility.

applications

Layers

The main components of Linux operating system are:

Each layer communicates with the one below it, creating a structured and efficient operating system design:

Kernel

Kernel is the core component of the Linux operating system that sits between the hardware and user space, managing system resources and ensuring smooth communication between software and hardware. It controls how processes are executed, scheduled, and isolated to maintain system stability and security.

The kernel is responsible for:

Types of Kernel

**1. Monolithic Kernel

**2. Microkernel

**3. Exokernel

**4. Hybrid kernel

Main Subsystems of kernel

the_linux_kernel_subsystems

System Libraries

System libraries provide predefined functions that allow application programs and system utilities to access kernel features without interacting with the kernel directly. They form the foundation for software development by offering reusable, standardized interfaces for system operations.

Common system libraries include:

Shell

The shell is a software interface to the kernel. It takes commands from the user and interprets them. The shell transmits these commands to the kernel, which then performs the requested operations. Users can just enter the command and using the kernel's function that specific task is performed accordingly.

Different types of shell

Each shell offers unique features and user experiences for interacting with Unix/Linux systems, from basic scripting to advanced customization.

shell_in_os

Shell

1. Bourne Shell (sh)

2. C Shell (csh)

3. Korn Shell (ksh)

4. Bash (Bourne Again Shell)

5. Z Shell (zsh)

6. Fish (Friendly Interactive Shell)

Hardware Layer

The hardware layer is the lowest level of the Linux operating system and forms the foundation on which all other components operate. It consists of physical devices and low-level controls that allow the system to function efficiently and reliably.

System utilities

System utilities are command-line tools that help users and administrators manage, configure, and monitor the Linux system. They simplify system administration by providing ready-to-use commands for common tasks.