Linux and Shell Programming UNIT I: Introduction To LINUX Operating System: Introduction - The LINUX Operating
Linux and Shell Programming UNIT I: Introduction To LINUX Operating System: Introduction - The LINUX Operating
System.
What is Linux?
Linux was designed to be similar to UNIX, but has evolved to run on a wide variety
of hardware from phones to supercomputers. Every Linux-based OS involves the Linux
kernel—which manages hardware resources—and a set of software packages that make up
the rest of the operating system.
The OS includes some common core components, like the GNU tools (i.e., is an
extensive collection of free software, which can be used as an operating system or can be
used in parts with other operating systems), among others. These tools give the user a way to
manage the resources provided by the kernel, install additional software, configure
performance and security settings, and more. All of these tools bundled together make up the
functional operating system. Because Linux is an open source OS, combinations of software
can vary between Linux distributions.
3) Applications
A type of software that lets you perform a task. Apps include everything from desktop tools
and programming languages to multiuser business suites. Most Linux distributions offer a
central database to search for and download additional apps.
What is kernel?
A Kernel is a computer program that is the heart and core of an Operating System. Since
the Operating System has control over the system so, the Kernel also has control over
everything in the system. It is the most important part of an Operating System. Whenever a
system starts, the Kernel is the first program that is loaded after the bootloader because the
Kernel has to handle the rest of the thing of the system for the Operating System. The
Kernel remains in the memory until the Operating System is shut-down.
The Kernel is responsible for low-level tasks such as disk management, memory
management, task management, etc. It provides an interface between the user and the
hardware components of the system. When a process makes a request to the Kernel, then it
is called System Call.
A Kernel is provided with a protected Kernel Space which is a separate area of memory and
this area is not accessible by other application programs. So, the code of the Kernel is
loaded into this protected Kernel Space. Apart from this, the memory used by other
applications is called the User Space. As these are two different spaces in the memory, so
communication between them is a bit slower.
Functions of a Kernel
Following are the functions of a Kernel:
Access Computer resource: A Kernel can access various computer resources like
the CPU, I/O devices and other resources. It acts as a bridge between the user and
the resources of the system.
Characteristics of Linux
Linux is open source, so it is free to use and users can also work on enhancing
features of the Linux operating sytem.
It is multi-use operating system, that means multiple users can access the system.
Linux is free of cost so it is easily available for users to download and use.
It is enhancing day by day as users can make changes in the Linux operating system.
Linux does not collect much user data, so it ensures privacy of user.