Linux Basics to First Deploy Learning Path
A free, ordered path from your first Linux command to a live web server: guides, a terminal simulator, quizzes and hands-on exercises.
What you will be able to do
- Move around a Linux system and read file permissions without guessing
- Install software, manage users and keep services running with systemd
- Write small Bash scripts that stop on the first error
- Create a cloud server, log in with SSH keys and lock it down
- Serve a website with Nginx and HTTPS on a server you built
10 guide chapters, 3 interview questions, 3 articles, 3 exercises, 2 simulators, 1 flashcard deck, 1 quiz, 1 challenge, 1 checklist. Every step is free. Tick a step when you finish it, or let the guide, exercise and checklist pages tick it for you.
// your progress
0 / 25 steps
Step 1: What Is Linux? The Kernel, Distributions and Their History
// stage 016 steps · 1 h 39 min
The command line
Get comfortable in a terminal: where you are, what is there, and who may change it.
Guide chapter11 min
What Is Linux? The Kernel, Distributions and Their History
What Linux is, what a distribution is, and why most servers run it.
Guide chapter22 min
Linux Command Line Basics: Essential Terminal Commands
The commands you will type every day: ls, cd, cp, mv, rm, less and grep.
Simulator20 min
Learn Linux - Interactive Tutorial
Practice the same commands in a safe browser terminal, with hints when you get stuck.
Guide chapter21 min
Linux File System Hierarchy and File Permissions Explained
Where things live on a Linux system, and how read, write and execute permissions work.
Interview question5 min
Linux File Permissions
Check that you can explain chmod and ownership the way an interviewer asks.
// stage 026 steps · 1 h 52 min
Software, users and processes
Install what you need, give people the right access, and keep programs running.
Guide chapter26 min
Linux Package Management: apt, dnf, Snap and Flatpak
Install, update and remove software with apt and dnf.
Guide chapter17 min
Linux User and Group Management: useradd, sudo and SSH Keys
Create users and groups, use sudo safely and set up SSH keys.
Guide chapter23 min
Linux Process Management: ps, top, kill, systemd and cgroups
See what is running, stop what misbehaves and manage services with systemd.
Article16 min
What Does "2>&1" Mean in Linux and Bash?
How output and error redirection works, the line you will meet in every script.
Interview question5 min
Linux Process Debugging
Walk through finding a process that eats CPU or memory, one command at a time.
// stage 034 steps · 1 h 37 min
Shell scripting
Turn the commands you repeat into scripts you can trust.
Guide chapter26 min
Bash Shell Scripting Basics for Beginners
Variables, conditions and loops: enough Bash to automate a chore.
Article15 min
What Does set -e Mean in Bash? Shebangs, sh vs bash and the Script Directory
Make scripts stop on the first error instead of carrying on with bad data.
Article11 min
How to Parse and Check Command Line Arguments in Bash
Accept arguments and flags so one script works for many cases.
Challenge45 min
Script It: Summarize an Access Log
Write a script that summarizes an access log. CI grades your pull request.
// stage 044 steps · 1 h 3 min
Networking and SSH
Understand how your server is reached, and how you reach it safely.
Guide chapter25 min
Linux Networking Commands: ip, ss, DNS and Troubleshooting
Read addresses, open ports and DNS answers with ip, ss and dig.
Guide chapter18 min
DNS Explained: Records, TTLs, Caching and Troubleshooting
How a domain name becomes an IP address, and how to debug it when it does not.
Simulator15 min
DNS Resolution Simulator
Follow a DNS lookup through resolvers and caches, step by step.
Interview question5 min
SSH Basics and Key Authentication
Explain how SSH key authentication works, and why it beats passwords.
// stage 055 steps · 3 h 14 min
Your first server and deploy
Put it all together on a real server: create it, secure it and serve a site from it.
Exercise30 min
Creating and Connecting to Your First Linux Server
Create an Ubuntu server in the cloud and log in with an SSH key.
Exercise45 min
Securing Your Linux Server: Essential First Steps
Lock the server down: firewall, users, updates and SSH settings.
Checklist30 min
SSH Hardening Checklist
Go through the SSH settings that stop most attacks on a public server.
Exercise1 h
Deploying a Web Application with Nginx and SSL
Your first deploy: serve a website with Nginx and a free TLS certificate.
Guide chapter29 min
Linux System Administration Basics: systemd, Logs, Updates and Security
Logs, updates and routine care, so the server keeps running after day one.