What is linux operating system with example

Introduction to Linux Operating System

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 Distribution

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
  • Fedora
  • openSUSE
  • Deepin

Architecture of Linux

Linux architecture has the following components:

  1. Kernel: Kernel is the core of the Linux based operating system. It virtualizes the common hardware resources of the computer to provide each process with its virtual resources. This makes the process seem as if it is the sole process running on the machine. The kernel is also responsible for preventing and mitigating conflicts between different processes. Different types of the kernel are:
    • Monolithic Kernel
    • Hybrid kernels
    • Exo kernels
    • Micro kernels
  2. System Library: Isthe special types of functions that are used to implement the functionality of the operating system.
  3. Shell: It is an interface to the kernel which hides the complexity of the kernel’s functions from the users. It takes commands from the user and executes the kernel’s functions.
  4. Hardware Layer: This layer consists all peripheral devices like RAM/ HDD/ CPU etc.
  5. System Utility: It provides the functionalities of an operating system to the user.
Читайте также:  See all mounts linux

Advantages of Linux

  • The main advantage of Linux, is it is an open-source operating system. This means the source code is easily available for everyone and you are allowed to contribute, modify and distribute the code to anyone without any permissions.
  • In terms of security, Linux is more secure than any other operating system. It does not mean that Linux is 100 percent secure it has some malware for it but is less vulnerable than any other operating system. So, it does not require any anti-virus software.
  • The software updates in Linux are easy and frequent.
  • Various Linux distributions are available so that you can use them according to your requirements or according to your taste.
  • Linux is freely available to use on the internet.
  • It has large community support.
  • It provides high stability. It rarely slows down or freezes and there is no need to reboot it after a short time.
  • It maintain the privacy of the user.
  • The performance of the Linux system is much higher than other operating systems. It allows a large number of people to work at the same time and it handles them efficiently.
  • It is network friendly.
  • The flexibility of Linux is high. There is no need to install a complete Linux suit; you are allowed to install only required components.
  • Linux is compatible with a large number of file formats.
  • It is fast and easy to install from the web. It can also install on any hardware even on your old computer system.
  • It performs all tasks properly even if it has limited space on the hard disk.
Читайте также:  Build linux visual studio

Disadvantages of Linux

  • It is not very user-friendly. So, it may be confusing for beginners.
  • It has small peripheral hardware drivers as compared to windows.

Is There Any Difference between Linux and Ubuntu?

The answer is YES. The main difference between Linux and Ubuntu is Linux is the family of open-source operating systems which is based on Linux kernel, whereas Ubuntu is a free open-source operating system and the Linux distribution which is based on Debian. Or in other words, Linux is the core system and Ubuntu is the distribution of Linux. Linux is developed by Linus Torvalds and released in 1991 and Ubuntu is developed by Canonical Ltd. and released in 2004.

Источник

Operating System — Linux

Linux is one of popular version of UNIX operating System. It is open source as its source code is freely available. It is free to use. Linux was designed considering UNIX compatibility. Its functionality list is quite similar to that of UNIX.

Components of Linux System

Linux Operating System has primarily three components

Linux Operating System

  • Kernel − Kernel is the core part of Linux. It is responsible for all major activities of this operating system. It consists of various modules and it interacts directly with the underlying hardware. Kernel provides the required abstraction to hide low level hardware details to system or application programs.
  • System Library − System libraries are special functions or programs using which application programs or system utilities accesses Kernel’s features. These libraries implement most of the functionalities of the operating system and do not requires kernel module’s code access rights.
  • System Utility − System Utility programs are responsible to do specialized, individual level tasks.

Kernel Mode vs User Mode

Kernel component code executes in a special privileged mode called kernel mode with full access to all resources of the computer. This code represents a single process, executes in single address space and do not require any context switch and hence is very efficient and fast. Kernel runs each processes and provides system services to processes, provides protected access to hardware to processes.

Читайте также:  Загрузка linux безопасный режим

Support code which is not required to run in kernel mode is in System Library. User programs and other system programs works in User Mode which has no access to system hardware and kernel code. User programs/ utilities use System libraries to access Kernel functions to get system’s low level tasks.

Basic Features

Following are some of the important features of Linux Operating System.

  • Portable − Portability means software can works on different types of hardware in same way. Linux kernel and application programs supports their installation on any kind of hardware platform.
  • Open Source − Linux source code is freely available and it is community based development project. Multiple teams work in collaboration to enhance the capability of Linux operating system and it is continuously evolving.
  • Multi-User − Linux is a multiuser system means multiple users can access system resources like memory/ ram/ application programs at same time.
  • Multiprogramming − Linux is a multiprogramming system means multiple applications can run at same time.
  • Hierarchical File System − Linux provides a standard file structure in which system files/ user files are arranged.
  • Shell − Linux provides a special interpreter program which can be used to execute commands of the operating system. It can be used to do various types of operations, call application programs. etc.
  • Security − Linux provides user security using authentication features like password protection/ controlled access to specific files/ encryption of data.

Architecture

The following illustration shows the architecture of a Linux system −

Linux Operating System Architecture

The architecture of a Linux System consists of the following layers −

  • Hardware layer − Hardware consists of all peripheral devices (RAM/ HDD/ CPU etc).
  • Kernel − It is the core component of Operating System, interacts directly with hardware, provides low level services to upper layer components.
  • Shell − An interface to kernel, hiding complexity of kernel’s functions from users. The shell takes commands from the user and executes kernel’s functions.
  • Utilities − Utility programs that provide the user most of the functionalities of an operating systems.

Источник

Оцените статью
Adblock
detector