Skip to main content
beginner learning path

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.

25steps
5stages
~9.5hours

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

Start the path

Step 1: What Is Linux? The Kernel, Distributions and Their History

  1. // 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.

    1. 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.

    2. 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.

    3. Simulator20 min

      Learn Linux - Interactive Tutorial

      Practice the same commands in a safe browser terminal, with hints when you get stuck.

    4. 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.

    5. Interview question5 min

      Linux File Permissions

      Check that you can explain chmod and ownership the way an interviewer asks.

    6. Flashcards20 min

      Linux Fundamentals

      Lock in the commands and paths with quick recall.

  2. // stage 026 steps · 1 h 52 min

    Software, users and processes

    Install what you need, give people the right access, and keep programs running.

    1. Guide chapter26 min

      Linux Package Management: apt, dnf, Snap and Flatpak

      Install, update and remove software with apt and dnf.

    2. 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.

    3. Guide chapter23 min

      Linux Process Management: ps, top, kill, systemd and cgroups

      See what is running, stop what misbehaves and manage services with systemd.

    4. 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.

    5. Interview question5 min

      Linux Process Debugging

      Walk through finding a process that eats CPU or memory, one command at a time.

    6. Quiz25 min

      Linux Command Line Quiz

      Test what you know before you start writing scripts.

  3. // stage 034 steps · 1 h 37 min

    Shell scripting

    Turn the commands you repeat into scripts you can trust.

    1. Guide chapter26 min

      Bash Shell Scripting Basics for Beginners

      Variables, conditions and loops: enough Bash to automate a chore.

    2. 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.

    3. Article11 min

      How to Parse and Check Command Line Arguments in Bash

      Accept arguments and flags so one script works for many cases.

    4. Challenge45 min

      Script It: Summarize an Access Log

      Write a script that summarizes an access log. CI grades your pull request.

  4. // stage 044 steps · 1 h 3 min

    Networking and SSH

    Understand how your server is reached, and how you reach it safely.

    1. Guide chapter25 min

      Linux Networking Commands: ip, ss, DNS and Troubleshooting

      Read addresses, open ports and DNS answers with ip, ss and dig.

    2. 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.

    3. Simulator15 min

      DNS Resolution Simulator

      Follow a DNS lookup through resolvers and caches, step by step.

    4. Interview question5 min

      SSH Basics and Key Authentication

      Explain how SSH key authentication works, and why it beats passwords.

  5. // 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.

    1. Exercise30 min

      Creating and Connecting to Your First Linux Server

      Create an Ubuntu server in the cloud and log in with an SSH key.

    2. Exercise45 min

      Securing Your Linux Server: Essential First Steps

      Lock the server down: firewall, users, updates and SSH settings.

    3. Checklist30 min

      SSH Hardening Checklist

      Go through the SSH settings that stop most attacks on a public server.

    4. Exercise1 h

      Deploying a Web Application with Nginx and SSL

      Your first deploy: serve a website with Nginx and a free TLS certificate.

    5. 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.

// next pathGit