🐧Interactive · Runs in your browser · 100% free

Linux & Bash Playground

The command line is the single most valuable skill in DevOps — and the best way to learn it is by doing. Read the quick primer below, then launch a full-screen, hands-on lab that grows with you: from your very first command as a beginner all the way to pipes, permissions and text processing. Each step asks what you need to do; you type the answer in a safe, simulated shell that checks your work instantly.

~35 min · 17 guided steps · Beginner → Advanced

Linux in 60 seconds

The three ideas you need first

A quick primer before you jump in. Skim these, then head to the terminal.

01

What is the Linux shell?

The shell is the program that reads the commands you type and runs them. Bash is the most common one. Almost every server, container and cloud instance is Linux — so the command line is the single most transferable skill in all of DevOps.

Read the intro tutorial
02

How does the filesystem work?

Everything in Linux lives in one tree that starts at the root, /. You move around it with cd, list it with ls, and refer to locations with absolute paths (/home/devops) or relative ones (../logs). Master this and the rest follows.

Explore the filesystem
03

What is this playground?

A safe, simulated Linux shell that runs entirely in your browser, complete with a virtual filesystem. You type real commands and see realistic output — but nothing runs on your computer and nothing can break. Guided steps check your work and track progress automatically.

Jump into the lab

What you'll do in the lab

17 bite-sized, auto-checked challenges that build on each other — from your first command as a beginner all the way to advanced pipes and text processing.

  1. 1

    Who are you logged in as?

    Print the current username.

  2. 2

    Where are you in the filesystem?

    Print the current working directory.

  3. 3

    What files are in this directory?

    List the contents of the current directory.

  4. 4

    How do you see hidden files and their permissions?

    List all entries in long format (including hidden ones).

  5. 5

    How do you move into another directory?

    Change into the notes directory.

  6. 6

    How do you read the contents of a file?

    Print the contents of a text file.

  7. 7

    How do you create a new directory?

    Create a directory named sandbox.

  8. 8

    How do you create a file and put text in it?

    Write a line of text into a new file using redirection.

  9. 9

    How do you copy a file?

    Make a copy of a file.

  10. 10

    How do you rename or move a file?

    Rename or move a file with a single command.

  11. 11

    How do you count the lines in a file?

    Count how many lines a file has.

  12. 12

    How do you search for text inside a file?

    Find the lines in the access log that returned a 404.

  13. 13

    How do you feed one command’s output into another?

    Use a pipe to count how many 404s are in the log.

  14. 14

    How do you make a script executable?

    Give the deploy script execute permission.

  15. 15

    How do you locate files across a directory tree?

    Find every .log file under your home directory.

  16. 16

    How do you build a multi-stage data pipeline?

    Count how many times each status code appears in the log.

  17. 17

    How do you transform text on the fly?

    Use sed or awk to rewrite or extract text.

How the playground works

1

Read the question

The left panel teaches a Linux concept, then asks what you need to do — with a hint on standby if you get stuck.

2

Type it in the terminal

Work out the command and type it yourself. The simulated shell responds just like a real Linux terminal.

3

Auto-check & advance

When your command hits the goal, the step turns green, the progress bar fills, and the next step unlocks.

Frequently asked questions

Is this Linux playground free?+

Yes. The Linux & Bash playground is 100% free with no sign-up, no credit card and no downloads. Just open the page and start typing commands in your browser.

Do I need to install Linux to use it?+

No. Nothing is installed on your computer. The playground runs a safe, simulated Linux shell with its own virtual filesystem entirely in your browser, so you can practice real commands without a VM, WSL or a server.

Is this a real Linux terminal?+

It is a high-fidelity simulation. You type real commands (ls, cd, grep, chmod, find, pipes and redirection) against a virtual filesystem and get realistic output — but nothing runs on your machine, so you cannot break anything.

Which Linux commands can I practice?+

The guided lab covers the essentials: navigation (pwd, ls, cd), file management (touch, mkdir, cp, mv, rm), viewing (cat, head, wc), searching (grep, find), permissions (chmod), and text processing with pipes, redirection, sort, uniq, cut, sed and awk.

Is the Linux playground good for complete beginners?+

Absolutely. The lab starts at the very beginning — your first command — and grows step by step into intermediate file management and advanced pipes and text processing, so it builds your command-line muscle memory gradually.

How long does the lab take?+

About 35 minutes for all 17 steps, and your progress is saved automatically so you can pause and come back anytime.

Ready to run your first command?

No setup, no downloads, no risk. Jump straight into the terminal and start learning Linux by doing.

Launch Playground →