Skip to main content

Understanding Kernel, Distros and File Systems of Linux

 


I hope many of you are familiar with the term "Linux". But my question is what is Linux?

Some of you will say Linux is an OS while some of you will say Linux is a kernel.

Actually, Linux is a kernel and not an OS. So, first, let's understand what a kernel is. Then the difference between OS and kernel.

Kernel

A kernel is one of the system software in Operating Systems which acts as a bridge between applications and hardware components.

Operating System vs Kernel

  • The operating system is a bridge between user and hardware while Kernel is a bridge between applications and hardware.
  • An operating system is a system software while Kernel is a software which is a part of the OS.
  • All operating systems need a kernel to run.
  • When you boot the computer, OS is the first program that loads while the kernel is the first program that loads when OS loads.
  • Example of the kernel: Linux 
  • Examples of OS: Ubuntu, Fedora, Kali

Linux Distributions


Linux Distributions or Linux Distros are the operating systems that include the Linux kernel. Linus Torvalds developed the Linux kernel and released its first version 0.01 in August 1991. The earliest distro was MCC Interim Linux released in February 1992. There are almost one thousand Linux distros.
There are some famous distros such as Debian, Slackware, RedHat and Arch Linux.
Some famous distros like Ubuntu, Kali and Parrot are Debian based Linux distros. For a more detailed understanding of Linux distros, watch the image in the link below.

 

From each distro, multiple distros were created based on it like based on RedHat, CentOS was created. Based on Debian, Ubuntu was created. Based on Ubuntu, distros like Ubuntu GNOME, Kubuntu, and Gobuntu were created.

File Systems

  • /   - It is a root directory.

  • /bin - This is where the executable files are located.

  • /dev - These are device drivers

  • /etc -  The configuration files of BIOS and other similar files can be found in /etc. 

  • /lib - Contains shared library files and sometimes other kernel-related files.
  • /boot - Contains files for booting the system.


  •  /home - Contains home directory for users

  • /mnt - Used for mounting temporary file systems.
  • /proc - Contains all processes as a file by process number.


  • /tmp - Contains temporary files.

  • /usr - The /usr directory is used to contain applications and files that are used and shared by and between users.

  • /var - The /var directory is used like the /usr directory, only instead of being read-only, it is writable. This directory contains system logs and other various variable data.

  • /sbin - Contains executable files, usually for system administration.


  • /media - Contains subdirectories where your physical media devices are mounted. For example, a CD, if inserted into your system, you can access its contents through its directory that is created in the /media directory upon insertion.


I hope you might have got a clear understanding of Kernel, Distros and the file system of Linux. Happy reading!

Comments

Popular posts from this blog

PLASMONICS - A Vision of future

Surface plasmon resonance (SPR) - related science and technology have recently spawned a brand new branch of research referred to as "Plasmonics" Plasmonics, also known as nanoplasmonics, is the creation, detection, and manipulation of signals at optical frequencies at nanoscale scale metal-dielectric interactions. Following the trend of miniaturizing optical devices, plasmonics finds applications in sensing, imaging, optical communications, and bio-photonics. Surface Plasmon Resonance in Bioanalysis For almost a decade, plasmonic imaging has been used to analyze single-cell activity. Although this approach is still in its early stages, its label-free and real-time benefits have piqued curiosity, and it has already been applied to extracellular and intracellular activities. However, as a freshly developed approach, plasmonic imaging has significant flaws that must be addressed before it can be widely used. First, plasmonic imaging’s imaging capacity needs to be improved. The ...

Wget Command

  What is Wget?                     Wget is a simple Linux/Unix command-line utility for downloading the contents, and files from the web. Wget will download the resource from the URL which is specified in the command. With the help of wget, we can download files using HTTP, and HTTPS. We can also download multiple files, resume downloads, recursive downloads, downloads in the background, and different options in the wget command. In this article, let’s see how to install and, use this command with examples. Installing Wget The wget is pre-installed on most of the Linux distros. To verify whether the package is installed, open your terminal type wget  and press enter. You will get a result of   wget: missing URL . If the wget package is not installed it will print wget command not found. Installation on Ubuntu and Debian                sudo apt install ...

Elasticsearch- II

 ELASTICSEARCH                                          In this blog we are going to learn how to use elasticsearch and kibana using python. Before getting into this, make sure that you have elasticsearch and kibana installed. To know the detailed procedure about the installation of elasticsearch and kibana, click the link below to learn the installation process from scratch. https://crescenttechnocratsclub.blogspot.com/2022/09/blog-post.html For python, let’s use VS Code . Visual Studio (VS) Code is a streamlined code editor with support for development operations like debugging, task running, and version control. Python IDLE is also fine to use but we will work with vs code in this blog. Install VS code using the following link : https://code.visualstudio.com/download Click op...