What is Linux?
Published: 2022-01-06 09:47:42

# What is Linux?

Linux is getting famous among techies. And even the year 2022 is considered as Linux on Desktop. 

![FG0wa7mVEAQVvSW.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1641457912503/AACRUm07K0.jpeg?auto=compress)

However there is a debate on what is Linux. Is it a kernel? Or is it an operating system(OS). Let's find out.

# The simplest Answers

Linux is a kernel, and not an operating system

![linux-is-the-kernel-not-the-operating-system.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1641458253536/Z2LgrDZTD.jpeg?auto=compress)

How? and why? let's break it down. But wait... before going any further, let's clear the idea of a kernel and an operating system

## Kernel

According to wikipedia

> In an operating system with a layered architecture, the kernel is the lowest level, has complete control of the hardware and is always in memory

In a nutshell kernel is the mediator between the hardware and the software. It is loaded into the memory on the startup and runs in the memory all the time, doing memory management, hardware utilization, etc.

## OS

In sum an OS is a combination of a kernel, a shell and other system software. It provides an interface between the user and the hardware. The kernel is the core component of an OS.

# What is Linux?

Linux is a free and opensource([FOSS](https://en.wikipedia.org/wiki/Free_and_open-source_software)), multitasking, Unix-like kernel. [Linus Torvalds](https://en.wikipedia.org/wiki/Linus_Torvalds), who is the creator of Linux, made Linux in 1992 as a kernel for his i386 based computer. And later it was adopted into the [GNU project](https://en.wikipedia.org/wiki/GNU_Project). 

Linux runs with a lot of GNU applications, system software and tools. Basically Linux depends on the GNU project. Thus, it's called as GNU/Linux, though many uses the term Linux. The term GNU/Linux emphasizes the indispensability of the GNU applications in Linux.

# Linux distributions

Although we have the kernel we still need an OS to interact with the computer. That's where Linux distributions come into the picture. A Linux distribution is a combination of Linux kernel, a shell (bash, zsh, fish, etc.) and other system software and libraries, that are provided by GNU project. In a nutshell it's an OS with Linux kernel on it.

Let's make it obvious with a real world example. Consider ice-cream. We have ice-cream on different flavors. Chocolate, strawberry, vanilla, etc. But at the end they all are ice-cream and all have the same core component, milk(there are other kind of ice-cream, but let's get it as milk for a better understanding.). It's similar to the world of Linux. Milk can be get as Linux kernel and, different flavors are the Linux distributions. 

Following are few popular distributions

1. [Ubuntu](https://ubuntu.com/) \-Oone of the most popular distributions. It has a user friendly learning environment. (It's my first Linux flavor)

![Ubuntu.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1641460218688/SsWG5TdgK.png?auto=compress)

1. [Arch](https://archlinux.org//) \- A lightweight, flexible distribution. Not that much beginner friendly. Highly recommended if you want to dive deep in Linux. (This is the my favorite distribution.)

![Arch_Linux_ISOLINUX_screenshot.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1641460266226/hkCCUjaHZ.png?auto=compress)

1. [Gentoo](https://www.gentoo.org/) \- This is also made for advanced Linux users, as Arch. Gentoo can be defined as a unique distribution as it uses its own tools(init, package manager, etc.).

![01-gentoo-linux-download.webp](https://cdn.hashnode.com/res/hashnode/image/upload/v1641460347930/7p4Wc8E_t.webp?auto=compress)

Get more info on Linux distributions from [here](https://www.linux.org/pages/download/)

# Conclusion

Thank you for reading! 

This is my first article and if you want to get in touch with me, you can find me on [Twitter](https://twitter.com/EthanRodrigo8), [Instagram](https://www.instagram.com/ethan.rod6/), [dev.to](https://dev.to/ethanrodrigo) and [Hashnode](https://hashnode.com/@EthanRodrigo).

[#linux](https://hashnode.com/n/linux)[#linux-for-beginners](https://hashnode.com/n/linux-for-beginners)[#linux-kernel](https://hashnode.com/n/linux-kernel)