Linux Series: Bash Programming & Operating Systems (Part - 1)
Published: 2023-05-10 06:25:43

---
title: Linux Series: Bash Programming & Operating Systems  (Part - 1)
published: true
date: 2023-02-14 03:30:39 UTC
tags: 
canonical_url: https://blog.muhammadnoorani.com/linux-series-bash-programming-operating-systems-part-1
---

# Overview

- In this guide, I will walk you through the basics of Linux. If you are new to Linux and unsure about its origins and purpose, this blog will provide you with a comprehensive overview.

- If you're not sure how to install Linux on your system, don't worry! There are multiple ways to use Linux even if you're currently using Windows as your operating system.

- Be sure to check out my step-by-step guide on installing Linux within Windows. Here's the link for easy access: [Blog Link](https://dev.to/muhammadn/linux-series-getting-started-with-linux-on-windows-1011-2023-wsl2-vmware-booting-usb-4e1h-temp-slug-4860458)

## What Happens When you start your computer?

- Now, you pressed the button to start your pc/Laptop,

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1676309952838/6d58ce9f-6d44-4f60-a0a9-cb1a2ca3e9bb.png)

# What is an Operating System?

- Operating System is Software to manage and operate a Computer Device.

- It acts as a bridge between the computer hardware and the applications that run on the computer.

- Now, software needs to pass these conditions to be considered an Operating System:

# What is a File System?

- A file system is a method or data structure used by the operating system to store, organize, and retrieve data on a storage device such as a hard drive or solid-state drive.

- The file system defines how the data is organized and stored on the storage device and provides a set of rules for accessing and retrieving the data.

- In today's time our computers are very fast, any file that we want to open. It does not take much time to find the file we are looking for.

# What is a Kernel?

- A kernel is any core of any Operating System. It manages the communication between hardware and software components.

- It has complete control over everything in the system. It can control the memory and the CPU time of any software that is out there.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1676309967541/fa0fdc5f-e074-4f50-8bdd-fd974480f00c.png)

# Windows vs Linux, Why use Linux?

- First going into the comparison, let's see the types of Operating Systems(Famous):

- MacOS and Linux are pretty similar as they both are UnIx Based.

- Windows has some similarities with Unix but is a proprietary Operating System, it has some components that are Unix-based but majorly it is derived from other Operating Systems but it remains a distinct and separate operating system from Unix.

- That is why developers prefer using either Linux or MacOS.

#### Why Use Linux?

1. Open Source

2. Terminal

3. Easier to get things done

# History of Linux

- In 1969, two developers namely one was Ken Thompson and Dennis Ritchie.

- If you know C language already, then you must be familiar with Dennis Ritchie.

- In the late 1960s, Ken Thompson and Dennis Ritchie developed Unix while working at Bell Labs. In the 1970s, the entire Operating System was rewritten in C language to make it more portable, and Unix soon became a widely used operating system.

- This is how the first Unix-based operating system came into the picture.

- In 1983, Richard Stallman started the GNU project to create a free and open-source operating system. Other operating systems like BSD, MINIX, etc. were also developed around this time.

- However, all of these operating systems lacked a unified kernel.

- In 1991, Linus Torvalds started working on the Linux kernel, which became the unified kernel for all distributions of Linux.

- Linus Torvalds is now known as the "Father of Linux."

# Linux Distributions (Which one to choose?)

- All the Linux distributions that are there, use the Linux Kernel, which Linus Torvalds developed in 1991.

- There are so many distributions of Linux, but in my opinion, Ubuntu is the best blend between a GUI(Graphic User Interface) and CLI(Command Line Interface). That is why I shifted from Windows to Linux Operating System.

# **You can find me on these platforms** [**🤝**](https://emojipedia.org/handshake/) **:**

> **_After reading this blog, give your reviews and feedbacks for more improvements._**

- [**Twitter**](https://twitter.com/MuhammadN_twts)

- [**Linkedi**](https://www.linkedin.com/in/muhammadnoorani)n

- [**GitHub**](https://github.com/MuhammadNoorani)

- [**Blog**](https://blog.muhammadnoorani.com/)