What is Linux? A Beginner's Introduction
Linux powers most of the internet, runs on everything from smartphones to supercomputers, and is essential knowledge for anyone in tech. Here’s what you need to know.
What is Linux?
Linux is an open-source operating system kernel created by Linus Torvalds in 1991. When people say “Linux,” they usually mean a complete operating system (called a “distribution”) built around the Linux kernel.
The Linux Family Tree
Linux Kernel (Linus Torvalds, 1991)
│
├── Debian Family
│ ├── Debian
│ ├── Ubuntu
│ └── Linux Mint
│
├── Red Hat Family
│ ├── RHEL (Red Hat Enterprise Linux)
│ ├── CentOS / Rocky Linux / AlmaLinux
│ └── Fedora
│
├── Arch Family
│ ├── Arch Linux
│ └── Manjaro
│
└── Others
├── SUSE
├── Gentoo
└── Alpine
Why Linux Matters
1. Servers Run Linux
Over 90% of web servers run Linux. If you deploy applications, you need Linux skills.
2. Development Environment
Many development tools work best on Linux. Even macOS is Unix-based, sharing similar commands.
3. Containers and Cloud
Docker, Kubernetes, and cloud platforms are Linux-native. Containers are literally Linux processes.
4. It’s Free and Open Source
No licensing costs. You can inspect, modify, and distribute the code.
Linux vs Windows vs macOS
| Aspect | Linux | Windows | macOS |
|---|---|---|---|
| Cost | Free | Paid | Hardware-bundled |
| Source | Open | Closed | Partially open |
| Servers | Dominant | Minority | Rare |
| Desktop | ~2% | ~75% | ~15% |
| Customization | Unlimited | Limited | Limited |
Getting Started
Option 1: Virtual Machine
Install VirtualBox or VMware and run Linux in a VM:
|
|
Option 2: Windows Subsystem for Linux (WSL)
|
|
Option 3: Cloud Server
Spin up a cheap VPS on DigitalOcean, Linode, or Hetzner for ~$5/month.
Option 4: Dual Boot
Install Linux alongside Windows. More complex but full native performance.
Your First Commands
Once you have Linux running:
|
|
The Shell
The shell is your command-line interface. Common shells:
- Bash - Default on most systems
- Zsh - Popular alternative (default on macOS)
- Fish - User-friendly with great defaults
|
|
Key Concepts
Everything is a File
In Linux, everything is represented as a file:
- Regular files
- Directories
- Devices (
/dev/sda) - Processes (
/proc) - Network sockets
Permissions
Every file has:
- Owner
- Group
- Permissions (read, write, execute)
|
|
Root User
root is the superuser with full system access. Use sudo to run commands as root:
|
|
Choosing a Distribution
For Beginners
- Ubuntu - Most popular, great community support
- Linux Mint - Ubuntu-based, Windows-like interface
- Pop!_OS - Ubuntu-based, great for developers
For Servers
- Ubuntu Server - Popular, long-term support
- Debian - Stable, conservative updates
- Rocky Linux - RHEL-compatible, enterprise-ready
For Learning
- Arch Linux - Learn by building from scratch
- Fedora - Cutting-edge, close to upstream
Next Steps
- Install Linux (VM or WSL is fine)
- Learn basic navigation commands
- Understand the file system hierarchy
- Practice file permissions
- Learn package management
Linux is a journey, not a destination. Start with the basics and build from there.
Comments