📖 Chapter 1

Introduction to Linux

Welcome to the Linux Basics course! In this section, you'll learn what Linux is, where it is used, and why it is one of the most important operating systems in the world.

Learning objectives

By the end of this section, you will be able to:

What is Linux?

What is Linux?

Linux is a free and open-source operating system. It controls how your computer's hardware and software work together, just like Windows or macOS.

Where do we use Linux?

Where do we use Linux?

Linux is not only for hackers in movies. It quietly runs behind the scenes almost everywhere:

Why learn Linux?

Knowing Linux gives you superpowers as a developer, IT professional, or power user:

Key parts of a Linux system

Linux is made up of different components that work together:

Linux vs other operating systems

Here is a simple comparison between Linux, Windows, and macOS:

Feature Linux Windows / macOS
License Mostly free and open-source. Commercial, closed-source (not freely editable).
Customization Highly customizable (desktop, shell, tools). Limited customization compared to Linux.
Usage Popular on servers, cloud, and for developers. Popular on desktops and laptops for everyday users.
Security Known for strong security when configured properly. Good security, but often targeted more by malware on desktops.

Popular Linux distributions

Linux Distributions are the most popular versions of Linux. Here are some of the most popular Linux distributions:

Distro Best for
UbuntuEasiest and most common; great for beginners.
DebianVery stable; often used as a base for other distros.
FedoraModern and updated; cutting-edge software.
ArchAdvanced and highly customizable; for experienced users.
KaliSecurity testing and hacking practice (ethical).
MintBeginner-friendly; simple and familiar desktop.

History of Linux

A short timeline of how Linux came to be and where it is today:

Year Event Explanation
1969 Unix created Unix developed at Bell Labs. Linux was later inspired by Unix.
1983 GNU Project Richard Stallman started GNU to create a free Unix-like OS.
1991 Linux kernel Linus Torvalds created the first Linux kernel as a student in Finland.
1992 Open source Linux released under GPL; anyone can use, modify, and share it.
1993 First distros Slackware and Debian among the first popular distributions.
1996 Tux mascot The penguin Tux became the official mascot of Linux.
2008 Android Android, based on the Linux kernel, launched for smartphones.
Present Linux everywhere Servers, cloud, phones, IoT, supercomputers. Linux runs it all.

Note: You don't need to delete Windows or macOS to learn Linux. Many people use Linux in a virtual machine, on the cloud, or alongside their existing OS.

Key takeaways

Remember these points before moving to the next chapter:

Practice questions

Question 1

List 5 places or devices where you think Linux might be running.

Hint: Think about servers, phones, routers, smart TVs, cloud platforms, etc.

Question 2

Why do you personally want to learn Linux? Write 3 reasons.

Hint: Career, curiosity, server management, programming, hacking/CTF, etc.

Quiz

Test your understanding. Click an answer to see if it's correct.

1. What is Linux?

  • A programming language for building websites
  • An open-source operating system used on many devices
  • A single application used only on phones
  • A paid operating system owned by one company

Linux is an operating system, similar to Windows or macOS, but open-source and widely used on servers and devices.

2. Which of the following is a common place where Linux is used?

  • Only on gaming consoles
  • Only on smart TVs
  • On servers, cloud platforms, and many devices
  • Only on supercomputers

Linux is popular on servers, in the cloud, on Android, and many embedded devices.

3. Which part of a Linux system talks directly to the hardware?

  • Terminal
  • Shell
  • Kernel
  • File manager

The kernel is the core layer that communicates with hardware devices.

4. What is a Linux distribution (distro) like Ubuntu or Fedora?

  • A programming tool used inside Linux
  • A version of Linux that bundles the kernel with software and desktop environment
  • A special Linux command for developers
  • A Linux game engine

A distribution is a packaged version of Linux tailored with software, tools, and a desktop.

5. Which of the following is a good reason to learn Linux?

  • It only works on old computers
  • It is required to use social media
  • It helps you work with servers, development tools, and the cloud
  • It is the only way to browse the internet

Linux is very valuable for working with servers, programming, DevOps, and cloud platforms.

6. Who created the first Linux kernel?

  • Richard Stallman
  • Bill Gates
  • Linus Torvalds
  • Steve Jobs

Linus Torvalds created the first Linux kernel as a student in Finland.

Ready to dive in? In the next chapter, we'll walk you through installing Linux step by step.