Shell Gym

Linux 101: Meet the Linux Shell

Ivan Velichko
by  Ivan Velichko · on
Linux

Your first hands-on session in a Linux terminal. Practice running commands, reading their output, using arguments and options, checking whether commands succeed or fail, and chaining commands together. No prior Linux experience is required.

Linux 101: Meet the Linux Shell Shell Gym (cover image)
Overview

This gym is for people who have never used a Linux terminal, or who have used one so rarely that every session feels like the first. It builds the basic muscle memory that every other command-line skill depends on.

The reps are short and repeatable. On the left you get a real Linux machine, on the right one small assignment at a time. Over four short modules you will:

  • Talk to the machine. Type a command, press Enter, read the reply, and get used to the prompt-command-output cycle.
  • Pass arguments and options. Tell a command what to work on and how to behave, using seq and date as practice examples.
  • Learn where commands come from. See the difference between executable programs stored on disk and shell builtins.
  • Tell success from failure. Break commands on purpose, read the exit status, and chain commands with &&, ||, and ;.

A session takes just a few minutes and is meant to be repeated over time until using these commands becomes muscle memory.

Learning path
4 modules · 23 units
How a Shell Gym works

Practice in a real terminal

Use a regular shell on a real Linux VM. Each rep is marked complete automatically when you reach the goal.

One skill at a time

Each module focuses on one command or concept, with short exercises to help you get comfortable using it.

Repeat until it sticks

Revisit the gym after 1, 3, 7, 14, 30 days to build command-line habits and remember what you've learned.

Part of your Daily Practice

The gym appears in Daily Practice when it's time to repeat it. Pause when you need a break, or mark it complete when you're comfortable with the skill.

See your progress

Review past sessions to see how long you practiced and how many reps you completed.

Help when you get stuck

Use hints and feedback based on what's happening on your VM to work out the next step without being given the answer.

Learn more about Shell Gyms
Train