Linux_Bible_chapter_1 + 2
Linux_Bible_chapter_1 + 2
By:Aayan
CHAPTER 1
Get started (just important concepts)
Linux Part I 1
CHAPTER 1
Get started (just important concepts)
Administrative concepts
Introduction to Linux OS
Linux is a community of open-source Unix like operating systems that are based on the
Linux Kernel. It was initially released by Linus Torvalds on September 17, 1991. It is a
free and open-source operating system and the source code can be modified and
distributed to anyone commercially or noncommercially under the GNU General Public
License.
Initially, Linux was created for personal computers and gradually it was used in other
machines like servers, mainframe computers, supercomputers, etc. Nowadays, Linux is
also used in embedded systems like routers, automation controls, televisions, digital
video recorders, video game consoles, smartwatches, etc. The biggest success of Linux
is Android(operating system) it is based on the Linux kernel that is running on
smartphones and tablets. Due to android Linux has the largest installed base of all
general-purpose operating systems. Linux is generally packaged in a Linux distribution.
Linux architecture
Linux Part I 2
Linux Kernel
Linux Part I 3
middle layer is referred to as the kernel. Basically the kernel virtualizes the common
hardware resources of the computer to provide each process with its own virtual
resources. This makes the process seem as it is the sole process running on the
machine. The kernel is also responsible for preventing and mitigating conflicts between
different processes.
The Linux Kernel networking unit: processes incoming packets arriving at Layer
2 to the network layer and then passes for local delivery to the transport layer
protocols listening to TCP or UDP sockets.
Linux Part I 4
Processes can communicate with each other through both: Shared Memory.
Message passing.
Monolithic Kernel
Hybrid kernels
Exo kernels
Micro kernels
System Library: Is the special types of functions that are used to implement the
functionality of the operating system.
Shell: A Unix shell is a command-line interpreter or shell that provides a command line
user interface for Unix-like operating systems. The shell is both an interactive command
language and a scripting language, and is used by the operating system to control the
execution of the system using shell scripts.
Hardware Layer: This layer consists all peripheral devices like RAM/ HDD/ CPU etc.
GNU
Linux is normally used in combination with the GNU operating system: the whole
system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux”
distributions are really distributions of GNU/Linux.
Linux Distribution
Linux Part I 5
Linux distribution is an operating system that is made up of a collection of software
based on Linux kernel or you can say distribution contains the Linux kernel and
supporting libraries and software. And you can get Linux based operating system by
downloading one of the Linux distributions and these distributions are available for
different types of devices like embedded devices, personal computers, etc. Around 600
+ Linux Distributions are available and some of the popular Linux distributions are:
MX Linux
Manjaro
Linux Mint
elementary
Ubuntu
Debian
Solus
openSUSE
Deepin
Administrative concepts
Linux Part I 6
computer. Web UI tools, such as Cockpit, have lowered the bar for doing complex
administrative tasks.
Starting up services:
Clustering:
Virtualization:
Specialized storage:
Linux Part I 7
Channel, and Infiniband. Entire open source storage platforms include projects such
as Ceph (https://ceph.io) and GlusterFS (https://www.gluster.org).
Linux Part I 8