Learn Linux Commands: Practice in Your Browser

Tutorials

Hands-on, interactive lessons for the Linux terminal and Git. Pick a tutorial and practice directly in your browser, no setup required.

Learn and practice Linux commands for free by typing them in a real browser terminal. A hands-on path from your very first command to files, permissions, text processing, and Git, with nothing to install.

The command line is a skill you build by using it. This page is a free, hands-on way to learn and practice Linux commands in a real browser terminal: pick a tutorial, start typing, and the terminal responds like the real thing. Nothing to install, no account to create.

A learning path from your very first command

The tutorials form an order you can follow from zero:

  1. Terminal Basics — typing, cursor keys, history, and tab completion
  2. Beginner — your first commands: pwd, ls, cd, mkdir, touch, rm
  3. Basic — everyday work: cat, cp, mv, grep, find, and more
  4. Advancedhead, tail, wc, sort, chmod, permissions, and text processing

Every step is a mission checked against the real state of the file system, not a quiz. You can browse the full list on the tutorials page.

A terminal that behaves like the real one

The simulated shell implements over a hundred Linux commands faithfully, including pipes, redirects, and vim. That is what makes practice here transfer: the commands you learn are exactly the ones you will type on a real machine, in the same way.

NOTE

Ready for version control too? The Git tutorials take you from your first commit to fixing merge conflicts, in the same browser terminal.

Safe to experiment

Everything runs in a virtual file system inside your browser tab. Delete anything, mistype anything, experiment freely: mistakes are free, and reloading the page gives you a clean environment to start over.

Frequently asked questions

How do I start learning Linux commands?

Start with Terminal Basics, which teaches typing, cursor keys, history, and tab completion. Then the Beginner tutorial covers pwd, ls, cd, mkdir, touch, and rm. Each later tutorial builds on the last, so you always have the commands you need for the next step.

Where can I practice Linux commands online for free?

Right here. Pick any tutorial and type the commands into a real terminal running in your browser. There is nothing to install and no account to create, and the file tree on the left updates live so you can see what each command did.

Do I need to install Linux to practice the commands?

No. The terminal runs entirely in your browser tab on a virtual file system, so you can practise on macOS, Windows, or Linux without setting anything up. The commands behave like a real Linux shell.

What Linux commands will I learn here?

The path covers file and directory commands (pwd, ls, cd, mkdir, cp, mv, rm), viewing and editing files (cat, less, head, tail, vim), searching (grep, find), permissions (chmod), and text processing with pipes and redirects, plus the full Git workflow.

Do the commands work like a real Linux terminal?

Yes. The simulated shell implements over a hundred Linux commands faithfully, including pipes, redirects, and vim. When you later sit down at a real machine, the same commands and the same muscle memory work.

Is this good for a complete beginner who has never opened a terminal?

Yes. The tutorials assume you have never opened a terminal before. Every mission explains what to type and why, and because it is a sandbox, there is nothing you can break by getting it wrong.