Linux training · free, at your own pace
This Linux training takes you from your first command to running a server in production, then on to the RHCSA and LFCS certifications. The full course has 25 modules and 211 lessons, of which 83 come with a lab you play on a real system and 186 end with a quiz, for roughly 137 hours of work. It is free and needs no sign-up. It is written for junior and intermediate sysadmins, for developers who want to understand their production environment, and for anyone preparing an exam. The reference distributions are Debian 13, Ubuntu Server 26.04 and AlmaLinux 10. Several lessons were tested on Ubuntu 24.04. The labs on virtual machines run on AlmaLinux 10 and Ubuntu 24.04.
FreeOptional accountGraded labs on your machine
- 01 ReadA lesson, an animated diagram
- 02 UnderstandA graded quiz
- 03 PractiseA lab in a real terminal
- 04 ProveA score on the result
- 05 ProgressYour progress and your reviews
The English edition is translated module by module, and 210 lessons are available in English so far. Pages that are not translated yet open in French, and each link to one says so.
What happens when you type a command?
Step 01 SITELESSON
Linux is first of all a kernel: the central program that drives the hardware and gives access to files. Ordinary programs run apart from it, in user mode: they do not touch the hardware, they ask the kernel through a system call. The terminal displays text and passes on what you type; the shell reads the line and starts the requested program. On most servers, that shell is Bash.
You type ls /tmp and the list of files appears. In between, several programs and
the kernel share the work. Step through the first six steps with the → button, and
look for who understands your command and who really reads the directory.
Then try it, predicting the answer before you click. If you type pwd instead of
ls /tmp, what change do you expect: no new program started, or no trip through the kernel?
Then click "Start over", "pwd instead of ls /tmp", then "Move forward" until that button
greys out. Click ⟲ and go to step 7: it gives the answer. Step 8 says what the diagram
simplifies.
- what you type
- data read or written
- starts, calls or asks
- has acted
- waits
- ended
Play starts the voice and moves through the steps. The left and right arrows change step.
Your turn: try it
Each action starts from what the diagram shows. Restart goes back to the guided tour.
The Linux fundamentals lesson covers this path again, and Open a terminal and understand the prompt has you open your first terminal.
Check that you understood
Step 02 SITEQUIZ
These three questions come from the quiz of the Linux fundamentals lesson. They cover the role of the terminal and the shell, the path of a command, and how a program asks the kernel for a file. The answers are corrected at the end and are not saved here: in a lesson, the quiz feeds your progress and your reviews.
Preparing the questions…
Your answers in detail
For each question asked: your answer, the correct answer, its explanation and the page to reread.
Move on to practice
Step 03 TERMINALLAB
The labs are played with dsoxlab, a free tool to install on your workstation. The first labs open in your terminal, without a virtual machine (VM), in a separate working directory. This "separate" ("isolated" in the tool's message) means a separate folder: the commands you type act on your workstation. Most of the other labs create one or more VMs, where your mistakes stay inside them.
The terminal below replays a real session of the lab "First steps in the terminal", linked to the lesson Open a terminal and understand the prompt.
workstation $ dsoxlab run l1-first-terminal ℹ Starting lab l1-first-terminal (runtime: shell)… ✔ Lab l1-first-terminal ready. You are now in challenge/work/, your isolated working directory. [...] # run prepares the lab, then opens a shell in its working directory. workstation $ whoami student # The user name. workstation $ pwd /home/student/.local/share/dsoxlab/catalogs/linux/labs/linux/l1/l1-first-terminal/challenge/work # The current directory: the one of the lab. workstation $ hostname poste # The machine name. workstation $ date Tue Nov 24 15:02:52 CET 2026 # The system date and time. workstation $ echo $HOME /home/student # Your home directory. workstation $ exit workstation $ dsoxlab reset l1-first-terminal Reset lab l1-first-terminal? Your work in progress is lost. [y/N]: y ℹ Resetting l1-first-terminal… ✔ Lab reset. # reset asks for your confirmation before putting everything back to zero.
What to look at
dsoxlab runprepares the lab, then places you in its working directory.whoami,pwdandhostnamesay who you are, where you are and on which machine.exitleaves the lab;dsoxlab resetsets it back to zero, after confirmation.
Once dsoxlab is installed, two commands add the linux lab catalog and open this lab:
dsoxlab catalog add linuxdsoxlab run l1-first-terminalThis lab needs neither a VM nor administrator rights, but git must be installed:
dsoxlab catalog add clones the catalogue. For the labs with VMs, dsoxlab doctor says what is missing
and Choosing a machine what to plan for. The installation is shown in Getting started and
detailed in installing dsoxlab.
Prove that you can do it
Step 04 TERMINALLAB
Each lab ends with a graded exercise: dsoxlab challenge shows the result to obtain, and
dsoxlab check checks what you did and gives you a score. Here, the learner completes a
file with the values of their machine. On the first try, they filled in only one field out
of four: read the failing tests, then the score after the fix. check saves the score;
dsoxlab submit ends the session.
To redo it at home, run dsoxlab run l1-first-terminal again, then edit
premiers-pas.txt in the directory that opens, with nano or your editor: replace each
VOTRE_RÉPONSE_ICI with the real value from your machine. Do not recreate the file with a >
redirection, you would wipe the four keys that dsoxlab check looks for.
workstation $ dsoxlab challenge l1-first-terminal [...] Mission The file challenge/work/premiers-pas.txt already exists: it holds the four keys and their placeholders. Edit it (with nano, vim or your editor) to fill in the four real values from your machine. Do not recreate it with a > redirection, you would wipe the keys the validation looks for. Do not invent or guess — run the commands and put the actual output. Constraints • All four fields must be filled: USER, MACHINE, HOME, DATE. • No placeholder left: every VOTRE_RÉPONSE_ICI must be replaced. • DATE must be the output of the date command (any reasonable format). • HOME must be a path starting with /. Expected file structure USER: <value> MACHINE: <value> HOME: <value> DATE: <value> [...] workstation $ dsoxlab check l1-first-terminal ℹ Validating l1-first-terminal… ✘ test_functional.py::test_no_placeholder (FAILED) ✘ test_functional.py::test_le_fichier_a_ete_edite_et_non_recree (FAILED) ✔ test_functional.py::test_user_matches_real ✘ test_functional.py::test_machine_matches_real (FAILED) ✘ test_functional.py::test_home_matches_real (FAILED) ✘ test_functional.py::test_date_is_real (FAILED) Tests l1-first-terminal finished ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6/6 0:00:00 What is left to do, according to the tests: ✘ no placeholder The file still contains 'VOTRE_RÉPONSE_ICI'. Fill in the 4 fields with the commands' real output. ✘ le fichier a ete edite et non recree The file has not been edited yet: the four fields still hold 'VOTRE_RÉPONSE_ICI'. ✘ machine matches real MACHINE is 'VOTRE_RÉPONSE_ICI' but the real name is 'poste'. Run `hostname` and paste the real output. ✘ home matches real HOME is 'VOTRE_RÉPONSE_ICI' but your real home is '/home/student'. Run `echo $HOME` and paste the real output. ✘ date is real DATE ('VOTRE_RÉPONSE_ICI') does not contain the current year (2026). Run `date` now and paste the fresh output; do not copy an example date. ℹ The full test output: dsoxlab -v check l1-first-terminal ╭──── Result: l1-first-terminal ────╮ │ 17 / 100 pts │ │ ███░░░░░░░░░░░░░░░░░ 1/6 tests │ ╰───────────────────────────────────╯ ℹ Result saved to history (17/100 pts). ✘ Some tests failed. # Only one field out of four is filled in: only the USER test passes. workstation $ dsoxlab check l1-first-terminal ℹ Validating l1-first-terminal… ✔ test_functional.py::test_no_placeholder ✔ test_functional.py::test_le_fichier_a_ete_edite_et_non_recree ✔ test_functional.py::test_user_matches_real ✔ test_functional.py::test_machine_matches_real ✔ test_functional.py::test_home_matches_real ✔ test_functional.py::test_date_is_real Tests l1-first-terminal finished ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6/6 0:00:00 ╭──── Result: l1-first-terminal ────╮ │ 100 / 100 pts │ │ ████████████████████ 6/6 tests │ ╰───────────────────────────────────╯ ℹ Result saved to history (100/100 pts). ✔ All tests passed. ℹ Score saved. Run dsoxlab submit to record your final attempt and end the session.
Passing a lab shows that you practised. To check that you can do it alone, each of the three levels has its exam, without step-by-step instructions: How to validate your skills describes them.
How do you track your progress in the Linux course?
Step 05 SITE
Every lesson has a checkbox, and your progress is stored in your browser, with no account and no sign-up required. Without an account, your progress is not sent to any server.
The My course page shows the full programme, module by module, with your completion percentage. In each lesson, the course plan in the left column reminds you where you are; at the bottom, a button marks the lesson as read and takes you to the next one, another goes back to the previous one. On a course of about 137 hours, that marker matters: you can pick up where you left off, even several weeks later. A lesson read in English or in French counts once: both editions share the same progress.
Here is the My learning page with sample data, taken from the Kubernetes
course; the Reviews tab brings back what you found hard. Your lab scores stay on your
workstation: dsoxlab export writes a file that you import on the site, without an account.
With an account, which is optional, dsoxlab login then dsoxlab push send them.
Progress and data details these paths.
Pass a guided lab.
Practise and Prove: they require a success on your machine.
Read and Understand: the bronze medal comes after 10 lessons read or 10 quizzes passed.
Four distinct steps, never added up: reading a lesson does not prove you can do it.
Kubeconfig and contexts, the lesson after “Create your first Kubernetes cluster”.
In the order to take it up. A topic only gets in once it was measured: a failed quiz, or a lab that did not pass.
The role sets the foundation. The rest adds to it and can be removed without erasing anything you have learned.
Your progress is yours: it lives in this browser and can be exported at any time. Without an account, nothing is sent, and clearing site data erases it, unless you have a backup. With an account, which is optional, a copy is kept there.
What does the Linux training cover, and how long does it take?
The course has 25 modules and 211 lessons, for about 137 hours of actual work, reading, labs and quizzes included.
| What you follow | Volume |
|---|---|
| Learning modules | 25 |
| Lessons | 211 |
| Lessons with a hands-on lab | 83 |
| Lessons with a quiz | 186 |
| Estimated duration | about 137 hours |
| Reference distributions | Debian 13, Ubuntu Server 26.04, AlmaLinux 10 |
| Certifications prepared | RHCSA EX200 (RHEL 10) and LFCS |
| Cost | free, no sign-up |
These volumes are recomputed from the course programme on every release, and the hours are not reading time. They add up the reading of the guide, the lab when the lesson has one, and the quiz that closes it. A storage lesson with a lab on logical volumes therefore weighs more than a command sheet, and the total reflects the time you will really spend in front of a machine. Nothing forces you to follow everything: the References, Going further and eBPF parts are occasional complements, not mandatory steps.
In which order should you follow the Linux training?
If you start from scratch, the entry point is Discover Linux: what a kernel does, what a distribution is, and what the terminal you are about to spend the next 137 hours in is for.
The recommended order is Fundamentals, Operate, Networking, Maintain, Storage, Secure, Troubleshoot, then Certifications. Each part groups modules of the course, with their lessons and labs, and can be followed on its own if you are after a specific skill.
| Part | What you learn | Lessons | Duration |
|---|---|---|---|
| Fundamentals | Discover Linux, navigate the filesystem, work with text, use the shell, manage permissions and processes, install software, first networking steps | 46 | ~28 h |
| Operate | Command-line text processing, SSH, Bash scripting, alternative shells, scheduling, processes, performance, systemd | 48 | ~28 h |
| Networking | Persistent interface configuration, Netplan and NetworkManager, link aggregation, diagnostics, file transfers | 11 | ~8 h |
| Maintain | APT, DNF and Flatpak packages, dependencies, security updates, system load, disk space | 12 | ~7 h |
| Storage | Partitions, filesystems, persistent mounts, LVM, RAID, LUKS encryption, quotas, Btrfs, disk performance | 24 | ~18 h |
| Secure | Users and groups, sudo, ACLs, LDAP with SSSD, sysctl and GRUB hardening, firewall, SELinux and AppArmor | 15 | ~15 h |
| Troubleshoot | Diagnostic method, a service that will not start, lost SSH access, a read-only filesystem, a stuck boot | 7 | ~5 h |
| Certifications | Choose between RHCSA and LFCS, prepare the exam, sit the mock exam | 6 | ~9 h |
| References | A-Z command sheets: awk, curl, find, grep, jq, sed, tar, xargs | 11 | ~6 h |
| Going further | Advanced editors, Nix, then the kernel mechanisms behind containers: cgroups, namespaces, capabilities | 19 | ~9 h |
| eBPF | What an eBPF program does inside the kernel, trace a live system with bpftrace, reduce the risk eBPF adds to a server | 11 | ~5 h |
There are two ways to read this table. If you are new to Linux, take the parts in order: the Fundamentals build the vocabulary and the reflexes without which the rest stays opaque, and Operate moves on to what a sysadmin does all day. If you already run servers, start with the part you are missing, usually Storage, Secure or Troubleshoot, and use the Fundamentals as a targeted refresher.
How is a skill validated: labs, quizzes, drills and a mock exam?
Four validation layers stack up: 83 lessons with a lab, 186 quizzes, timed drills and two mock exams, RHCSA and LFCS. Reading is not enough, and even less so in a job that is judged on the state of a machine.
Every lab prepares a working directory on your workstation or a disposable VM, runs a scenario, then checks what you really did and computes a score. In a VM, your mistakes do not touch your workstation. The dsoxlab CLI drives everything: start a lab, validate it, track your progress. Several administration labs (service, mount, network) check that the setting is persistent, and their instructions say so. The machine is only really rebooted in the capstone-mise-en-production lab.
The quiz closes the lesson in a few questions. It does not replace the lab; it catches what you think you understood: the precedence of an option, the unit of a value, the order of two steps.
The training has three levels: L1 (use), L2 (administer) and L3 (operate). Each one ends with an exam without step-by-step instructions: drill-essential-commands, capstone-mise-en-production and capstone-serveur-casse.
The page How to validate your skills details validation by evidence: unit labs, level exams and mock exams. The RHCSA mock exam, rhcsa-mock-exam, runs 20 tasks on two VMs in about 180 minutes, under exam conditions; it is described on the RHCSA page. The LFCS mock exam, lfcs-mock-exam, covers the five official domains on one Ubuntu 24.04 VM; it is described on the LFCS page.
Drills, under exam conditions
Between the guided labs, which teach, and the mock exams, which simulate the full exam, the drills are an intermediate layer: short tasks, no hints and timed, done as on exam day. Most are dual-distribution: one content serves RHCSA preparation on a system of the RHEL family and LFCS preparation on Ubuntu, and you pick the lab target with the --target option. Run them when you think you have mastered a domain: that is when the gap between "I can do it" and "I can do it in twenty minutes without documentation" becomes visible.
Where are the labs? The dsoxlab companion repository
The labs live in the linux-dsoxlab-training repository and run with the dsoxlab CLI. The site holds the guides, the repository holds the exercises and their grading, so you can replay a lab without going through the browser.
You install it once. The dsoxlab CLI installs with uv or pipx. git must be present, because dsoxlab catalog add clones the catalogue. You then add the catalogue and list what you can play:
uv tool install dsoxlab # or: pipx install dsoxlabdsoxlab catalog add linuxdsoxlab list-labsThe output of dsoxlab list-labs shows the lab identifiers, the same ones you find on the lab card of each lesson. The repository follows the same logic as the course: guide, then lab, then end-of-level exam, then certification. Lab instructions are in English, but some file, placeholder and test names are still in French. The dsoxlab guide covers installation and scoring.
RHCSA or LFCS: which Linux certification should you choose?
The RHCSA (exam EX200) validates skills on RHEL 10 in an enterprise context; the LFCS from the Linux Foundation does not depend on a distribution. Both are hands-on exams: you are put in front of a machine, not a questionnaire.
They are not an appendix to the course but a major validation path, and the whole content prepares for them. The RHCSA requires dnf, nmcli, firewalld and SELinux enforcing, which makes it demanding on persistent settings. The LFCS covers five cross-cutting domains and rewards method more than a distribution. If you are aiming for a job in a Red Hat environment, the RHCSA carries more weight on a CV; otherwise the LFCS proves the same foundation.
The page Choose between RHCSA and LFCS compares the two hands-on exams for your profile. Each one then has its own preparation page: the RHCSA EX200, Red Hat's exam on RHEL 10, and the LFCS, the Linux Foundation's vendor-neutral certification in five domains.
Which distribution should you learn Linux on in 2026?
The course holds whatever your distribution, but every major release brings changes that affect a production server and that you cannot guess. Debian 13 mounts /tmp in memory and stops reading /etc/sysctl.conf, Ubuntu Server 26.04 replaces the GNU coreutils with a Rust reimplementation, and AlmaLinux 10 boots with SELinux enforcing while refusing to boot on a processor that is too old. These pages treat each distribution on its own terms, from tests in a lab, not from release notes.
The Debian, Ubuntu, AlmaLinux comparison answers the question that often decides the choice: how many years of free security updates, and on which packages, since all three have a gap, not in the same place. Each distribution then has its own page. Ubuntu is available in English, Debian and AlmaLinux are in French for now: Debian 13 “Trixie” (in French) for migrating from Debian 12 and its traps, Ubuntu Server 26.04 LTS for the universe security gap, the Rust coreutils and sudo-rs, and AlmaLinux 10 for its ten years of security updates, EPEL out of scope and the processor trap.
What I stand for
I have been running Linux servers for years, and this course has opinions. Here they are, so you know what you are signing up for.
You only remember what you broke and repaired yourself. Every topic therefore follows the same thread: a guide sets the mental model and the commands, a lab puts you in charge, most often of a disposable VM where a mistake costs nothing, and a quiz checks that the essentials stuck. That is why 83 lessons come with a lab, and why I would rather add a lab than lengthen a text.
A configuration that does not survive a reboot does not count. That is the rule of the RHCSA exam, and above all the rule of production: a sysctl set by hand, a mount missing from /etc/fstab or a service never enabled with systemctl enable are outages waiting to happen. Several administration labs apply it: they check a persistent setting rather than the command you typed, and their instructions say so.
You do not learn Linux at an AI prompt. An assistant gives you the command, but it does not diagnose your outage at three in the morning, does not know why your systemd unit stays failed after a reboot, and does not measure the real state of your disk. Learning Linux means building the mental model that makes you self-sufficient when the assistant is wrong, and it is wrong with confidence.
The why before the how. I refuse tutorials that chain commands without explaining what they do, and abstract examples cut off from reality. Here, I run the commands on a real machine before writing them down, and the output shown is the output it produced.
One reference distribution at a time, not a blend. When behaviour diverges, the guide says which of the three systems it describes. Pretending that netplan is Linux networking or that ufw is the universal firewall produces sysadmins who are lost as soon as they change environments.
What I advise against
Three mistakes come up often enough to be named before you make them.
Learning Linux by reading. It is the most expensive one, because it gives the illusion of progress. A lesson read without its lab leaves nothing three weeks later. If you are short of time, do fewer lessons, but do their labs.
Disabling SELinux at the first denial. On AlmaLinux 10 as on RHEL, setenforce 0 makes the symptom and the skill disappear at the same time. The denial is information: ausearch -m avc -ts recent tells you which of your files carries the wrong context, and restorecon fixes it in one command.
Preparing a Red Hat exam on Ubuntu. The RHCSA is taken on RHEL, with dnf, firewalld and SELinux enforcing. Prepare on AlmaLinux 10 or Rocky Linux, otherwise you will discover the differences on exam day, with the clock running.
References and going further
The A-Z command sheets and the deeper topics such as Nix, advanced editors or the kernel internals are occasional resources, not steps on the learning path. You open them when a precise question comes up, not in order.
The difference is real: a course lesson builds a skill and is validated by a lab, a reference sheet answers a question and closes. Keep both within reach, but do not mistake the second for progress.
The A-Z command sheets cover awk, curl, find, grep, jq, sed, tar, xargs and more. The Going further part gathers the advanced editors, Nix, then the kernel mechanisms behind containers: cgroups, namespaces and capabilities.
Which courses complement the Linux training?
Three topics of the LFCS curriculum have a course of their own on the site: Git, containers with Podman, and networking. The Linux training does not copy them, it sends you there at the right time: once the foundation is in place, not before. They are full courses, with their own progression and their own labs.
The recommended order follows your needs. Git helps as soon as you version your scripts and configuration files, Podman directly extends the systemd module since it generates services, and the Networking course deepens the troubleshooting that the Linux Networking module only introduces, from ping to the firewall and TLS. For the LFCS, the first two cover exam objectives. Podman is only available in French for now; Git and Networking already have some lessons in English, and the rest of those two courses is in French.
The Git course (mostly in French for now; start with the English lesson Install and configure Git) teaches you to version scripts and configurations, with branches, history and collaboration. Podman covers daemonless containers, rootless mode and systemd services generated by Quadlet. The Networking course (mostly in French for now; for example the English lesson TLS diagnostics) covers troubleshooting in production, protocols and a two-machine homelab.
Key points
Five points sum up what to keep from this page before you open the first lesson:
- The entry point for a beginner is Discover Linux; a sysadmin already on the job starts with the part they are missing.
- The recommended order is Fundamentals, Operate, Networking, Maintain, Storage, Secure, Troubleshoot, then Certifications.
- A skill is validated by a lab graded on what you did, not by reading the guide; on the RHCSA exam, a setting that does not survive a reboot does not count.
- Your progress is stored in your browser, with no account and no sign-up required.
- The RHCSA targets RHEL and requires SELinux enforcing; the LFCS does not depend on a distribution.
FAQ: frequently asked questions
These questions are about the training itself: its cost, the starting point for a beginner, how a skill is validated, what you need to install, and the choice between the two certifications.
- Fundamentals
- Operate
- Networking
- Maintain
- Storage
- Secure
- Troubleshoot
- Certifications
| Layer | What it checks |
|---|---|
| Lab | What you really did; several administration labs check a persistent setting |
| Quiz | What you think you understood: an option, a unit, an order |
| Drill | A short task, with no hints and timed |
| Mock exams | RHCSA: 20 tasks on 2 VMs; LFCS: the five official domains on one Ubuntu VM; under exam conditions |
dsoxlab CLI, installed once, and the lab catalogue. git must be installed, because dsoxlab catalog add clones the catalogue:uv tool install dsoxlab # or: pipx install dsoxlab
dsoxlab catalog add linux
dsoxlab list-labs
The first labs need neither a VM nor administrator rights. The others prepare a disposable VM, where your mistakes do not touch your workstation.- The RHCSA (EX200) is taken on RHEL 10 and requires
dnf,nmcli,firewalldand SELinux enforcing. It carries more weight for a job in a Red Hat environment. - The LFCS from the Linux Foundation does not depend on a distribution: it covers five cross-cutting domains.