Linux Tutorial — Part 1: Introduction & Why Linux Matters

By Suraj Ahir November 15, 2025 7 min read

Linux — Getting Started
Linux — Getting Started
Linux Tutorial · Part 1 of 12 Part 2 →

If you are serious about technology — whether it is cloud computing, DevOps, cybersecurity, or software development — you cannot avoid Linux. It is not optional. Linux runs over 96% of the world's top web servers. Every major cloud platform — AWS, GCP, Azure — is built on Linux. Android, which runs on over 70% of mobile devices, is built on the Linux kernel. Learning Linux is not learning a tool. It is learning the foundation of modern computing.

What is Linux?

Linux is a free, open-source operating system. Unlike Windows or macOS, Linux was built on a philosophy of openness — the source code is public, anyone can view it, modify it, and distribute it. This is why there are hundreds of "distributions" (versions) of Linux — Ubuntu, CentOS, Debian, Arch, Fedora, and many more — each tailored for different use cases.

Linux was created by Linus Torvalds in 1991. He was a Finnish student who wanted a free alternative to Unix. What started as a personal project became the most important operating system in the history of computing. Today, the Linux kernel has millions of lines of code contributed by thousands of developers worldwide.

Why Every Developer and Engineer Must Know Linux

The Linux Architecture

Linux has four main layers:

Linux Distributions — Which One to Learn?

There are many Linux distributions, but for learning purposes, Ubuntu is the best starting point. It is user-friendly, has a large community, and most online tutorials use Ubuntu. For server environments, Ubuntu Server and CentOS/RHEL are the most common in production.

Here is a quick overview of popular distros:

The Terminal — Your New Best Friend

The terminal is where you interact with Linux using text commands. It might look intimidating at first, but it is actually faster and more powerful than clicking through a graphical interface. Once you get comfortable with the terminal, you will prefer it.

Open a terminal in Ubuntu by pressing Ctrl + Alt + T. You will see a prompt that looks something like this:

Linux Terminal Prompt
suraj@ubuntu:~$

This tells you: the username is suraj, the machine is called ubuntu, and you are currently in the home directory (~). The $ means you are a regular user (not root).

Your First Linux Commands

Let us run a few basic commands to get comfortable:

Basic Linux Commands
# Show current directory
pwd

# List files and folders
ls
ls -la   # detailed list with hidden files

# Show username
whoami

# Show date and time
date

# Clear the terminal screen
clear

# Show system info
uname -a

The Linux File System — A Quick Overview

Linux organizes everything in a single directory tree starting from / (called root). Some important directories:

In Linux, everything is a file. Devices, processes, network connections — they all appear as files somewhere in this tree. This unified model makes Linux very powerful and consistent.

Installing Linux — Options

You have several options to start using Linux:

In Part 2, we will go deep into file system navigation — the core skill that makes everything else possible in Linux.

Linux Distributions: Choosing the Right One

Linux is not a single operating system — it is a kernel around which many different distributions (distros) have been built. Each distro packages the kernel with different tools, package managers, and default configurations. Ubuntu and Debian use the apt package manager and are the most common in cloud environments and web servers. CentOS, Rocky Linux, and AlmaLinux use dnf or yum and are dominant in enterprise and corporate environments. Arch Linux is highly customizable and popular with developers who want full control. For learning purposes, Ubuntu is the recommended starting point — it has the largest community, the best documentation, and is the default for most cloud virtual machines on AWS, GCP, and Azure.

Linux in the Real World: Where It Powers Everything

Understanding the scale of Linux deployment helps motivate the learning investment. Over 96% of the world's top one million web servers run Linux. All of the top 500 supercomputers in the world run Linux. Android — running on billions of devices — is built on the Linux kernel. AWS, Google Cloud, and Azure all run their underlying infrastructure on Linux. Docker containers run Linux processes. Kubernetes orchestrates Linux containers. Every major cloud certification assumes Linux knowledge. The pattern is clear: if you work in technology professionally, you will work with Linux. There is no realistic path around it.

Practice Exercise

Set up a Linux environment to practice with. If you are on Windows, install Windows Subsystem for Linux (WSL2) — it provides a full Ubuntu environment inside Windows. If you prefer a cloud-based setup, create a free-tier AWS EC2 instance or GCP Compute Engine instance running Ubuntu. Once you have access to a terminal, run these commands to start exploring: uname -a (system information), whoami (current user), pwd (current directory), ls -la (list files with details), df -h (disk space usage), and free -h (memory usage).

Disclaimer: This content is for educational purposes only. SRJahir Tech does not guarantee any specific outcome, job placement, or exam result. Learning requires consistent effort and practical application.