Shell Gym

Linux 101: Get Unstuck in the Shell

Ivan Velichko
by  Ivan Velichko · on
Linux

Your second hands-on session in a Linux terminal. Find out what a command name really runs, learn how to get help with --help and man pages, and stop or suspend commands that do not give the prompt back.

Linux 101: Get Unstuck in the Shell Shell Gym (cover image)
Overview

This Shell Gym builds on Meet the Linux Shell and takes the next step toward working confidently in a Linux terminal. If you already know how to run commands, pass arguments and options, and check whether they succeeded, you're ready to continue. No other Linux knowledge is required.

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:

  • Understand what you're running. Tell shell builtins from executable programs and learn why that distinction sometimes matters.
  • Find your way around unfamiliar commands. Use built-in help to discover available options and figure out how a command works.
  • Use the Linux manual. Navigate, search, and find the documentation you need with man.
  • Stay in control of the terminal. Interrupt, suspend, and resume commands, and recover when a program appears to be stuck.

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 · 16 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