0% found this document useful (0 votes)
15 views13 pages

Architecture of Linux Operating System

The document provides an overview of the architecture of the Linux operating system, highlighting its components such as the kernel, system libraries, shell, hardware layer, and system utilities. It explains the function of the kernel as the core component managing hardware resources and process execution, and describes different types of kernels including monolithic, micro, exokernel, and hybrid. Additionally, it lists various Linux distributions and emphasizes the importance of the kernel in providing a versatile and powerful operating system experience.

Uploaded by

chris
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views13 pages

Architecture of Linux Operating System

The document provides an overview of the architecture of the Linux operating system, highlighting its components such as the kernel, system libraries, shell, hardware layer, and system utilities. It explains the function of the kernel as the core component managing hardware resources and process execution, and describes different types of kernels including monolithic, micro, exokernel, and hybrid. Additionally, it lists various Linux distributions and emphasizes the importance of the kernel in providing a versatile and powerful operating system experience.

Uploaded by

chris
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

Search...

Architecture of Linux Operating System


Last Updated : 31 May, 2025

Linux is an open-source UNIX-based operating system. The main


component of the Linux operating system is Linux kernel. It is developed
to provide low-cost or free operating system service to personal system
users, which includes an X-window system, Emacs editor, IP/TCP GUI,
etc.

Linux distribution
A Linux system package, known as a distribution, consists of multiple
Linux distributions available for different computing needs. Linux
distribution is developed using a set of software based on compatibility
with the Linux core kernel, using which Linux-based operations in
different systems, such as personal systems, embedded systems, etc.
There are around 600 distributions available.

Each distribution has specialized packages installed to support specific


tasks. This means you can download software related to your field of
work using a Linux distribution.

Some Linux distributions are: MX Linux, Manjaro, Linux Mint,


elementary, Ubuntu, Debian, Solus, Fedora, openSUSE, Deepin

Components of Linux
Like any operating system, Linux consists of software, computer
programs, documentation, and hardware.

The main components of Linux operating system are: Application, Shell,


Kernel, Hardware, Utilities

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 1/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

Linux operating system architecture

1. Kernel

Kernel is the main core component it is lies between the shell and the
hardware. It controls the activity of other hardware components. It
visualizes the common hardware resources and provide each process
with necessary virtual resources. It makes the process to wait in the
ready queue and execute in consequently to avoid any kind of conflict.

Related searches
Learn Linux Kernel Linux Kernel Course Latest Linux Os

The kernel is software that manages communication between the


hardware and the system. It cannot directly interact with directories or
files. Instead, the kernel handles the communication between the
computer system and the hardware.

The kernel is responsible for:

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 2/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

Memory management: Manages and allocates memory efficiently.


Resource allocation: Distributes system resources to different
processes.
Device management: Controls input/output devices like printers and
scanners.
Process management: Manages process execution and scheduling.
Application interaction: Bridges applications with system-level
functions.
Security: Provides essential system-level security.

Different of types of kernel

There are several kernel types

1. Monolithic Kernel

A Monolithic kernel is an operating system kernel where all concurrent


processes run simultaneously within the kernel itself, sharing the same
memory resources. This type of kernel operates on a step-by-step
dependency model, internally managing the various components or
scripts an application may rely on to function correctly.

If you’ve ever seen a terminal prompt saying dependencies are being


downloaded or destroyed, that’s because the kernel must ensure the
right support exists before running the app. This makes Monolithic
kernels powerful but also heavy.

2. Micro kernel

In micro kernel user services and kernel services are executed in


separate address spaces. User services are kept in user address space
and kernel services are kept in kernel address space. This architecture
means dependencies are not embedded directly within the kernel,
instead, applications must install and manage their own. While this
design enhances modularity, it can lead to slower performance as
everything relies on external services.

Microkernels are advanced but can be slower because they don’t have
dependencies pre-installed like Monolithic kernels do. They're
commonly used in systems that prioritize security and modularity.
https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 3/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

3. Exokernel

Exo-kernel is designed to manage hardware resources at application


level. High level abstraction is used in this operating system to offer
hardware resources access to kernel.

4. Hybrid kernel

It is the combination of both monolithic kernel and microkernel.


Windows uses a Hybrid Kernel. It supports system-level performance
like a Monolithic kernel while offering the modular design of
Microkernels.

For example, it includes Microkernel-level readability while managing


dependencies internally like a Monolithic kernel. This makes it suitable
for tasks like scheduling, performance optimization, and balancing CPU
load during video editing, gaming, etc.

Hybrid kernels provide balanced performance without drastically


increasing system size. However, they do tend to have slightly larger
kernel images—ranging up to 500–600MB.

Main Subsystems of kernel:

Process scheduler: Responsible for fairly distributing the the


processing time among all the concurrently running process.
Memory management unit: This kernel sub unit is responsible for
proper distribution of memory resources among the concurrently
running process.
Virtual file system: This subsystem provides interface to access
stored data across different file system and different physical media.

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 4/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

Kernel subsystems

2. System Library

System libraries are some predefined functions by using which any


application programs or system utilities can access kernel's features.
These libraries are the foundation upon which any software can be built.

Some of the most common system libraries are:

1. GNU C library: This is the C library that provides the most


fundamental system for the interface and execution of C programs.
This provides may in-built functions for the execution.
2. libpthread (POSIX Threads): This library plays important role for
multithreading in Linux, it allows users for creating and managing
multiple threads.
3. libdl (Dynamic Linker): This library is responsible for the loading and
linking file at the runtime.
4. libm (Math Library): This library provides user with all kind of
mathematical function and their execution.
Shell Scripting Kali Linux Ubuntu Red Hat CentOS Docker in Linux Kubern Sign In
Some other system libraries are: librt (Realtime Library), libcrypt
(Cryptographic Library), libnss (Name Service Switch Library), libstdc++
(C++ Standard Library)

3. Shell

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 5/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

The Shell is also software or It can be determined as the 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 commend 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.

1. Bourne Shell (sh)

The Bourne Shell was one of the first shells in Unix. Think of it as the
"basic command helper" that lets you talk to your computer. You could
type commands, run simple programs, and even write small scripts to
automate tasks. It doesn’t have fancy features, but it’s reliable and still
used in scripting today.

2. C Shell (csh)

The C Shell was made to feel more like the C programming language,
which many developers already knew. It added cool features like the
ability to go back and run previous commands without typing them
again. It was great for quick tasks, but not the best for serious scripting
jobs.

3. Korn Shell (ksh)

The Korn Shell came later to improve on both the Bourne and C shells.
It was powerful, easy to script with, and worked with older scripts too.
Big companies used it because it balanced old and new features well.
But at first, it wasn’t free, which made it harder for everyone to use.

4. Bash (Bourne Again Shell)

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 6/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

Bash is the most popular shell today. It's like an upgraded version of the
Bourne Shell. It lets you use arrow keys to go through old commands,
press Tab to auto-complete file names, and run powerful scripts. It’s
free and comes by default in most Linux systems and even on Mac
computers.

5. Z Shell (zsh)

Z Shell or zsh is super popular with developers. It combines features


from all the other shells, looks nice, and is very customizable. It fixes
many problems found in older shells and adds fun features like themes
and plugins. Mac now uses it by default.

7. Fish (Friendly Interactive Shell)

Fish is made to be super beginner-friendly. It highlights mistakes as you


type, suggests commands, and even lets you set things up using a web
browser. It’s not the best for big scripts, but perfect if you want
something easy and nice to use for everyday work.

Linux shell

4. Hardware Layer

Hardware layer of Linux is the lowest level of operating system track. It


is plays a vital role in managing all the hardware components. It
includes device drivers, kernel functions, memory management, CPU

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 7/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

control, and I/O operations. This layer generalizes hard complexity, by


providing an interface for software by assuring proper functionality of
all the components.

5. System utility

System utilities are the commend line tools that preforms various tasks
provided by user to make system management and administration
better. These utilities enables user to perform different tasks, such as
file management, system monitoring, network configuration, user
management etc.

Conclusion:
The most powerful and versatile component of Linux operating system
is Kernel, using which functional of whole operating system can be
controlled. Kernel provides a huge range of functionality, which can be
easily accessed by the user in an interactive way using shell. For the
proper functionality of the operating system, proper hardware are
needed. All the components of the the operating system make it easier,
faster, stable and reliable.

Comment More info


Next Article
Advertise with us Fedora Linux Operating System

Similar Reads
Fedora Linux Operating System
Fedora Linux is a free and open-source operating system based on the
Linux kernel and was developed by the community-supported Fedora…

15+ min read

Gentoo Linux Operating System

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 8/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

Gentoo Linux is a highly customizable and source-based Linux distribution


known for its flexibility and performance optimization. Users have fine-…

15+ min read

History of Operating System


An operating system is a type of software that acts as an interface
between the user and the hardware. It is responsible for handling variou…

15+ min read

Is Linux a Kernel or an Operating System?


Linux is a widely used open-source Unix-like operating system. This is
what most of us know. However, Linux is not an operating system. At…

15+ min read

Functions of Operating System


An Operating System acts as a communication interface between the user
and computer hardware. Its purpose is to provide a platform on which a…

15+ min read

Features of Distributed Operating System


A Distributed Operating System manages a network of independent
computers as a unified system, providing transparency, fault tolerance,…

15+ min read

Monolithic Architecture - System Design


Monolithic architecture, a traditional approach in system design, which
contains all application components into a single codebase. This unified…

15+ min read

Concurrency in Operating System


Concurrency in operating systems refers to the capability of an OS to
handle more than one task or process at the same time, thereby…

15+ min read

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 9/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

Architecture of a System
Architecture is a critical aspect of designing a system, as it sets the
foundation for how the system will function and be built. It is the process…

15+ min read

OS File System Architecture


An operating system (OS) is software that manages computer hardware
and software resources and provides related services to computers. It act…

15+ min read

Corporate & Communications Address:


A-143, 7th Floor, Sovereign Corporate
Tower, Sector- 136, Noida, Uttar Pradesh
(201305)

Registered Address:
K 061, Tower K, Gulshan Vivante
Apartment, Sector 137, Noida, Gautam
Buddh Nagar, Uttar Pradesh, 201305

Advertise with us

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 10/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

Company Explore
About Us Job-A-Thon
Legal Offline Classroom Program
Privacy Policy DSA in JAVA/C++
Careers Master System Design
In Media Master CP
Contact Us Videos
Corporate Solution
Campus Training Program

Tutorials DSA
Python Data Structures
Java Algorithms
C++ DSA for Beginners
PHP Basic DSA Problems
GoLang DSA Roadmap
SQL DSA Interview Questions
R Language Competitive Programming
Android

Data Science & ML Web Technologies


Data Science With Python HTML
Machine Learning CSS
ML Maths JavaScript
Data Visualisation TypeScript
Pandas ReactJS
NumPy NextJS
NLP NodeJs
Deep Learning Bootstrap
Tailwind CSS

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 11/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

Python Tutorial Computer Science


Python Examples GATE CS Notes
Django Tutorial Operating Systems
Python Projects Computer Network
Python Tkinter Database Management System
Web Scraping Software Engineering
OpenCV Tutorial Digital Logic Design
Python Interview Question Engineering Maths

DevOps System Design


Git High Level Design
AWS Low Level Design
Docker UML Diagrams
Kubernetes Interview Guide
Azure Design Patterns
GCP OOAD
DevOps Roadmap System Design Bootcamp
Interview Questions

School Subjects Databases


Mathematics SQL
Physics MYSQL
Chemistry PostgreSQL
Biology PL/SQL
Social Science MongoDB
English Grammar

Preparation Corner More Tutorials


Company-Wise Recruitment Process Software Development
Aptitude Preparation Software Testing
Puzzles Product Management
Company-Wise Preparation Project Management
Linux
Excel
All Cheat Sheets

Courses Programming Languages


IBM Certification Courses C Programming with Data Structures
DSA and Placements C++ Programming Course
Web Development Java Programming Course
Data Science Python Full Course
Programming Languages
DevOps & Cloud

Clouds/Devops GATE 2026


DevOps Engineering GATE CS Rank Booster
AWS Solutions Architect Certification GATE DA Rank Booster
Salesforce Certified Administrator Course GATE CS & IT Course - 2026
GATE DA Course 2026

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 12/13
6/11/25, 2:26 PM Architecture of Linux Operating System - GeeksforGeeks

GATE Rank Predictor

@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved

https://www.geeksforgeeks.org/architecture-of-linux-operating-system/ 13/13

You might also like