🐧 Linux and the command line for kids
Where am I, what is here, and how do I change it. ls, cd, cp, mv, rm, pipes and >, wildcards, grep, find, chmod, background jobs, and a shell script of your own — typed into a terminal rather than read about.
- 8 units
- 49 lessons
- 253 exercises
- Units 1–2 free
- Ages 8–15
How this track is kept honest
The commands a Linux course has to teach — rm -r, chmod, mv /etc/hostname — are exactly the ones you must never hand a child a real machine to try. So the machine is a safe one and the commands are real: every message, every exit status and every permission rule is checked against real bash and real coreutils, which have to print the same bytes. A child learns the wording they will meet in a real terminal, not a paraphrase of it — and nothing they type can break anything.
No programming needed. Roughly ages 9–15, and a good first track for a Raspberry Pi.
How it starts
When you want a file, you point at it and click. There is another way in. You type what you want, and the computer does it. That is a terminal, and it is how almost every serious computer in the world is driven — the ones running websites, films, telescopes and your school.
The full Linux syllabus
8 units and 49 lessons, in the order they are played. Each unit has a page of its own with every explanation in it, the code samples and what they print, and a few questions to try.
Unit 1: The Terminal
Talking to a computer in words
- The Black Screen
- Where Am I?
- What Is Here?
- Moving Around
- Two Ways to Say Where
- Asking for Help
- Treasure Hunt
Unit 2: Making Things
Folders, files, copies and the delete key
- New Folders
- New Files
- Reading a File
- Copying
- Moving and Renaming
- Deleting
- Tidy the Desktop
Unit 3: Finding Things
Ten thousand files and no scrolling
- How Big Is It?
- Searching Inside
- Grep's Switches
- Wildcards
- Finding Files
- The Missing Homework
Unit 4: Joining Programs Up
Small tools, plugged into each other
- Where Output Goes
- The Pipe
- Sort and Count
- Cutting Columns
- The Other Stream
- The Word Counter
Unit 5: Who May Do What
Locks, keys, and the ten letters
- More Than One Person
- The Ten Letters
- Changing the Locks
- Permissions as Numbers
- Making It Runnable
- Lock the Diary
Unit 6: Programs Running
Starting, stopping, and did it work?
- A Program With a Number
- In the Background
- Stopping Things
- Did It Work?
- Mission Control
Unit 7: The Shell Is a Language
Variables, questions and loops
- Remembering Things
- Two Kinds of Quotes
- The Answer Inside
- Doing It to Everything
- Asking Questions
- Again and Again
- Four Hundred Files
Unit 8: Your Own Commands
Writing a script, and teaching the machine a new word
- A File Full of Commands
- Making It a Command
- Telling It Something
- Where Commands Live
- A Script Worth Keeping
Other things to learn
- 🐍 Python for kids
The friendliest first language. Start here!
- ✨ JavaScript for kids
The language of websites. Try it after Python.
- ⚙️ C programming for kids
How computers really work. Read, predict and reason about real C.
- 🚀 C++ for kids
C with the sharp edges filed off. Powers most games.
- 🔌 Digital logic for kids
Start with one tiny switch. Finish with a working computer.
- 🌱 Git and version control for kids
Save your work forever, and share it.
- 🔢 Problem-solving maths for kids
Powers, shapes, chances and proof — the way problem solvers see them.
- 🤖 AI and machine learning for kids
Teach a computer to learn — with nothing but adding and multiplying.
- 🤖 Robotics coding for kids
Write code that drives a machine around a room.
- 🏁 Competitive programming for kids
Win the race. The algorithms that beat the clock.