Learn Linux: Four Levels From Beginner to Ninja, Plus Vim
Learn Linux grew from 16 lessons to 66 in four levels, from your first command to fixing a broken server, with a practice Vim and a printable cheat sheet.
Updates··10 min read
Learn Linux now has four levels: Beginner, Intermediate, Advanced and Ninja. That's 66 short lessons, about nine hours in all, taking you from your first ls to bringing a broken web server back to life. Vim runs through three of the levels, from "how do I get out of this" to macros and Neovim, and there's a new printable cheat sheet. Every lesson still has a practice terminal right in the page that checks your work as you type. It's free, there's no account, and nothing you type leaves your browser. It has been live since November 20.
Until this release the course was one set of 16 beginner lessons called "Linux command line basics." Those lessons are still the start. Everything after them is new.
Four levels, 66 lessons
Each level builds on the one before, and each ends with a challenge that uses everything in it.
| Level | Lessons | About | After it, you can |
|---|---|---|---|
| Beginner | 16 | 1 h 42 min | find your way around and manage files |
| Intermediate | 16 | 1 h 50 min | work comfortably day to day |
| Advanced | 17 | 2 h 37 min | automate things and run a server |
| Ninja | 17 | 2 h 46 min | fix things nobody explained to you |
- Beginner is for someone who has never opened a terminal:
pwd,lsandcd, making, copying and deleting files, permissions, pipes,grepandfind. It ends with tidying up a messy folder. - Intermediate covers the everyday tools:
less, links, disk space withdfanddu,tararchives,cut,trandsed, variables and$( ), aliases, processes and background jobs, your first Vim session, andping,curl,sshandscp. The challenge is shipping a café's new menu. - Advanced is where you start writing scripts:
ifand exit codes, loops, functions,awk,find -execandxargs. Then running a server: users andsudo,systemctlandjournalctl,cron,apt, ports, DNS withdig, aufwfirewall and SSH keys. The challenge is automating a nightly backup. - Ninja has 13 lessons and four "something broke" challenges. The lessons cover pipelines with
teeandpipefail, process substitution, debugging scripts withbash -xandtrap,topandlsof, a website that's down, DNS trouble, refused versus timed-out connections, reading atcpdumpcapture and SSH tunnels.
Each level has its own page that says what it covers and what you should already know before starting it. The course page shows your progress across all four:

How a lesson works
A lesson is a split screen. On one side are the lesson text, your task, hints and a cheat sheet for the commands it teaches. On the other is a terminal. You read a little, type the commands, and the task list ticks itself off as you go. Example commands in the text have a Run button if you'd rather not type them.

That lesson is a good example of the Ninja level. You're told the shop at http://web/ is down, and nothing else. curl on your laptop says it couldn't connect. You ssh web, find that nginx has stopped, start it with sudo, then go back to your laptop and check again, because a fix only counts when it works from where the user is.
A few things make the lessons forgiving:
- Hints come one at a time. The Hints tab shows hint 1, then hint 2, and only then the answer, with Run buttons beside each line.
- Common mistakes get their own hint. Type
systemctl start nginxon the server withoutsudoand, under the real error (Interactive authentication required), the lesson explains that starting a service changes the system, so it needssudo. - Reset puts everything back. The files and the pretend servers return exactly as the lesson started, which makes it a safe place to try
rm -r,kill -9and firewall rules. - It works on a phone. Below laptop width, a Lesson and Terminal switch shows one at a time. The terminal also has a dark mode and bigger or smaller text.
Your finished lessons are saved in this browser, and the course page picks up where you left off. The commands you type are never saved.
Vim, from "how do I get out" to macros
Sooner or later a command like git commit drops you into Vim, often on a machine where nobody chose another editor. In the practice terminal, crontab -e opens it too. So the course teaches Vim in nine lessons spread over three levels, all in a practice Vim that opens inside the terminal when you type vi, vim or nvim.
- Intermediate: open a file, type and save, and how to exit Vim, including what
E37: No write since last change (add ! to override)means. - Advanced: moving by word, line and search, operators such as
dw,cwandci"with the dot command, and search and replace with:%s. - Ninja: macros, registers and marks, splits and buffers, and Neovim with a config in Lua.
The practice Vim behaves like the real one where it matters for learning: modes, counts, undo, registers, real error messages. Press Ctrl+C and it tells you Type :qa and press <Enter> to exit Vim, just like Vim. On a phone, a row of keys your keyboard hides sits under the editor: Esc, a sticky Ctrl, :, / and the arrows.
![The practice Vim open on settings.txt in the Vim macros lesson, lesson 54. The first three lines now read HOST=db.internal, PORT=5432 and USER=shop. The cursor sits on line 4, "database shop_live", with "pool_size 10", "timeout_seconds 30" and "log_level info" still to change. The status line reads "settings.txt [+]", 4,5 and All. Above the editor the task list has "Record a macro" and "Play it" ticked and "Every line is NAME=value, saved" still open.](/images/blog/learn-linux-four-levels-and-vim/vim-macro.webp)
That's the macros lesson halfway through. You record qa0gUiwf r=jq once, which turns host db.internal into HOST=db.internal and moves down a line, then play it with 2@a. Two more lines changed, four to go. 10@a would finish the file, because the macro stops when it runs out of lines.
Things break on purpose
The Ninja level ends with four "something broke" challenges. Each gives you a goal and a broken system, and finding out why is your job:
- The shop's API answers 500. Get it answering again, and leave the server's disk with room to spare.
- The web server won't start. Get it back with a config that
nginx -tpasses. lssays "command not found", and something is eating the CPU. Fix it in this terminal and in new ones, and stop the runaway process.- The final challenge: the shop is broken in three places at once, and has to answer from your laptop again.
You find the causes with tools from across the course: curl, ssh, systemctl, journalctl, df, top and the rest. Troubleshooting is hard to practise, because nobody wants to hand a learner a real broken server. Here the server lives in the page, and Reset brings it back.
Not sure where to start?
If you already know some Linux, the course page has a placement check: eight quick tasks in a terminal, a few minutes in all. List hidden files, copy a file into a new folder, count the 404s in a log, pack a folder into a .tar.gz, add a line to a file in Vim. Do the ones you can, skip the rest, and it suggests a level. The tasks cover Beginner and Intermediate skills, so if you do all eight it sends you to Advanced.
A cheat sheet and 67 command pages
The Linux commands cheat sheet puts 69 everyday commands on one page, in ten groups: files and folders, viewing files, searching, text, permissions, processes, networking, archives and disk space, the shell itself, and Vim basics. Each has one line on what it does and a short example. A Try button puts the example into a practice terminal on the same page, and a link takes you to the lesson that teaches it. It also prints as a compact sheet for your desk.

Behind it are 67 command pages, such as the awk command, up from 17. Each starts with a one-line answer, then the options people actually use with worked examples, a terminal to try them in, and the lesson that teaches the command.
What it isn't
The terminal is a simulation written for these lessons, not a real Linux machine. It has more than a hundred commands, from ls and grep to tar, awk, ps and systemctl, with the same options, output and error messages as GNU/Linux. But it can't install real software or reach the internet: apt and the network are pretend, and the lessons never need more.
A few other limits are worth knowing. The servers follow Ubuntu, so you learn apt and ufw rather than dnf or firewalld. The practice Neovim reads a small part of Lua, options and key mappings, and tells you line by line what it doesn't support, so there are no plugins. And progress lives in one browser: it's included when you back up your data, but if you clear your site data without a backup, it's gone.
If you came here from a "Permission denied", our guide to reading ls -l and fixing it with chmod uses the same practice shell.
Try it
Open Learn Linux and start lesson 1, or take the eight-task placement check and jump in at your level. If Vim is the thing that scares you, lesson 29 takes six minutes, and after it you won't be stuck in Vim again.
Share this post
Keep reading
Updates· Nov 24, 2026· 10 min
What's New in November 2026: 52 Tools, Files and a New Look
November brought a calmer new look, 52 new tools, a file manager and document scanner, Learn Linux in four levels, Notion import and faster pages.Updates· Nov 24, 2026· 11 min
Why Binary Decimal Runs in Your Browser, and What Still Leaves
Our tools do their work on your device, with no upload and no account. How saving, backup and sync work, the trade-offs, and exactly what does leave.Updates· Nov 24, 2026· 10 min
Files and the Document Scanner: Keep What You Make
Files keeps your scans, PDFs, notes and diagrams in folders in your browser, and the new Document Scanner turns phone photos into a clean PDF. No sign-up.