blog posts

How to install Bash on Windows 11

Friends who are familiar with Linux must have heard the name Bash shell. The shell is present by default in most Linux versions. In this tutorial, you will learn how to install the Bash shell in Windows 11. Microsoft has placed a subsystem called WSL in its Windows operating system for Linux-related items, which can be used to implement Them.

To install Bash, you must first enter Windows Terminal. Click on the start button and search for Terminal. Don’t forget to run it as Administrator.

Installing Bash on Windows

Once you are in Windows Terminal, type wsl –install and run it. Do not forget that you will need an internet connection. After completing the installation, restart your computer once.

Installing Bash on Windows

After you restart your computer and enter Windows again, the installation operation will continue automatically, and this time it will download and install Ubuntu. In the end, consider a username and password for yourself.

Installing Bash on Windows

You now have a Linux Bash shell on your Windows and the other.

What is an operating system?

An operating system is a program that acts as an interface between the computer user and computer hardware, and controls the execution of programs.


The operating system’s job

The operating system (OS) manages all of the software and hardware on the computer. It performs basic tasks such as file, memory and process management, handling input and output, and controlling peripheral devices such as disk drives and printers.

Most of the time, there are several different computer programs running at the same time, and they all need to access your computer’s central processing unit (CPU), memory and storage. The operating system coordinates all of this to make sure each program gets what it needs.

pc diagram

In the image above the User interfaces with the System & Application software. The System & Application software interfaces with the Operating System. The Operating system interfaces with the Hardware. Each of these interfaces are two way transactions with each sending and receiving data.

Types of operating systems

Operating systems usually come pre-loaded on any computer you buy. Most individuals use the operating system that already comes with their computer however it is possible to upgrade or change the initial operating system to suit your preference.

Different operating systems will work in different ways. They may appear visually different, have different terms for common functions and organise programs in different ways. Do not be alarmed if you find yourself using a computer at university that you are unfamiliar with – a bit of practice and you’ll be well on your way!

There are many operating systems that are available however the three most common operating systems are Microsoft’s Windows, Apple’s macOS and Linux. In the table below, we will outline a few of the key differences between each system.