Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 870c3c5

Browse files
committed
Complete introduction to Linux section (linux/index.txt)
1 parent a5e87b2 commit 870c3c5

File tree

1 file changed

+74
-1
lines changed

1 file changed

+74
-1
lines changed

src/linux/index.txt

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,67 @@ domains, from embedded systems to supercomputers. It is known for its
1212
stability, security, and flexibility, making it a preferred choice for
1313
developers, especially in server environments.
1414

15-
.. rubric:: What is operating system?
15+
.. rubric:: What is an Operating System?
16+
17+
.. _os_overview:
18+
19+
An operating system (OS) is the primary software that manages all the hardware
20+
and other software on a computer.
21+
It acts as an intermediary between the physical hardware and the user
22+
applications, providing essential services needed for the applications
23+
to execute.
24+
25+
.. _os_functions:
26+
27+
The operating system is the fundamental suite of software on a device that
28+
keeps everything together. It interacts with the device's hardware components,
29+
handling everything from input devices like keyboards and mice to output
30+
devices like displays and printers. The OS sits between the applications you
31+
run and the hardware, using hardware drivers as an interface between them.
32+
For instance, when an application wants to print a document, it hands off
33+
the task to the OS. The OS then sends instructions to the printer using printer
34+
drivers to send the correct signals. The printing application does not need
35+
to understand the specifics of the printer or how it works.
36+
The OS handles the details.
37+
38+
OS includes a variety of software components such as system services,
39+
libraries, and :abbr:`APIs (Application Programming Interfaces)` that
40+
developers use to write applications that run on the OS.
41+
42+
The OS also manages multitasking, allocating hardware resources among multiple
43+
running programs. It controls which processes are running, distributing them
44+
among various CPUs if you have a computer with multiple processors or cores,
45+
allowing multiple processes to run in parallel. It also manages the system's
46+
internal memory, allocating memory among running applications.
47+
48+
When we say "computers" run operating systems, we don't just mean traditional
49+
desktop PCs and laptops. Your smartphone is a computer, as are tablets,
50+
smart TVs, gaming consoles, smartwatches, and Wi-Fi routers. An Amazon Echo or
51+
Google Home is a computer device running under the management of an operating
52+
system.
53+
54+
Familiar desktop operating systems include Microsoft Windows, Apple MacOS,
55+
Google's Chrome OS, and Linux. The primary operating systems for smartphones
56+
are Apple's iOS and Google's Android.
57+
58+
Other devices, like a Wi-Fi router, may run "embedded operating systems".
59+
These are specialized operating systems with fewer features than a typical
60+
operating system, designed specifically for a single task - like operating
61+
a Wi-Fi router, navigating, or controlling an ATM.
62+
63+
Operating systems also include other software, including the user interface,
64+
which allows people to interact with the device. This could be the desktop on
65+
a PC, the touch interface on a phone, or the voice interface on a digital
66+
assistant.
67+
68+
The operating system is a large piece of software made up of many different
69+
applications and processes. The line between what is the operating system and
70+
what is a program can sometimes be a bit blurred.
71+
There isn't a strict official definition of an operating system.
72+
73+
For instance, in Windows, the File Explorer application is an integral part of
74+
the Windows operating system -- it even handles drawing your user interface --
75+
and an application running on that operating system.
1676

1777
.. rubric:: Linux pros
1878

@@ -30,11 +90,24 @@ developers, especially in server environments.
3090

3191
.. rubric:: Linux -- the Kernel and distributions
3292

93+
The core of an operating system is the kernel.
94+
95+
At a low level, the "kernel" is the core computer program at the base of your
96+
operating system. This single program is one of the first things loaded when
97+
your operating system starts. It handles memory allocation, converts software
98+
functions into instructions for your computer's CPU, and processes input and
99+
output from hardware devices. The kernel typically runs in an isolated area
100+
to prevent it from being used by other software on your computer.
101+
The kernel of an operating system is crucial, but it's just one part of
102+
the operating system.
103+
33104
Strictly speaking, the name **"Linux"** only applies to the operating system
34105
kernel, which performs the actual operating system tasks. It takes care of
35106
elementary functions like memory and process management and hardware control.
36107
Application programs must call upon the kernel to, e.g. access files on disk.
37108

109+
However, Linux is still often referred to as an operating system.
110+
38111
To accomplish useful work, a multitude of system and application programs,
39112
libraries, documentation etc. is necessary. "Distributions" are nothing but
40113
up-to-date selections of these together with special programs (usually tools

0 commit comments

Comments
 (0)