Tool Open source

Shell Gym

Shell Gym is an interactive Linux command-line trainer implemented as a background daemon with a built-in web UI. It presents short assignments, or “reps,” such as entering a directory, creating a file, killing a process, or freeing a port; the assignment completes automatically when the corresponding system state changes. Users type real commands in an ordinary terminal while the UI observes the host and provides guidance, without modifying the shell or using prompt hooks, wrappers, special functions, a check button, or copy-and-paste.

View repository Visit site Mentioned in 1 video ↓

Overview

Its outside-the-shell observation uses procfs to discover interactive shells and inspect working directories, processes, files, and ports; the Linux kernel proc connector to observe exec() events; and direct state checks for files, processes, and listening ports. It runs on a Linux host as root, with an online playground also available, and the project advises using a disposable VM or other disposable Linux system because exercises perform real actions on the live host.

What Shell Gym is used for

1 use taken from transcripts — each links to the moment in the video.

  • A disposable Linux command-line practice environment with browser-based tasks such as creating files, killing processes, and freeing ports. It watches the real system, marks tasks complete, and provides hints, setup scripts, randomized variables, and progress tracking.

Videos mentioning Shell Gym

1 in the library.