Playground

A terminal you cannot break.

Type real Linux commands into a pretend computer. Folders, files and pipes all behave like the real thing, and a wrong command costs you nothing.

0/8 challenges
tux — bashpractice

Welcome to the pretend computer. Type help for the command list.

penguin@tux:~$
try

Use the ↑ arrow key to bring back a command you already typed. That works here exactly like it does on a real machine.

Challenges

1

Look around

Find out where you are, then list what is in the folder.

2

Read the notes

Walk into the notes folder and read a file inside it.

3

Build a home for Tux

Create a folder called zoo with a file inside it.

4

Write something down

Put the words hello penguin into a file called hello.txt.

5

Build an assembly line

Use a pipe to search inside a file for the word penguin.

6

Count the lines

Count how many lines notes/todo.txt has.

7

Reveal the hidden

List everything in your home folder, including hidden files.

8

Change permissions

Make a file executable with chmod.