Introduction to Operating Systems

The command line, step by step:
from a key to a process.

What a terminal and a shell are, how signals, jobs and sessions work, and what bash does with a line before the command starts: variables, quotes, globs and the PATH search.

9 chapters · 28 pages≈ 144 minstep-by-step simulators · demo terminal with jobs and missions
Your progress

Start with the terminal and the shell.

Follow the chapters in order or pick one on the map.

Start the course

Progress is saved in this browser. Reset

Course map

From a key on the keyboard to a running process.

Current chapterDone
Study material generated with AI (Claude) from the slides of ISO lecture 04, to be reviewed by the lecturers. It may contain mistakes; for the exam, the reference is the lecture and its slides. Found a mistake? Open an issue on the course repository.
About this material

How it was made

Text, figures, the simulators and the demo terminal were generated with Claude (Anthropic) from the slides of lecture 04 – Command Line Interface, following the structure of the interactive DEEA modules. The diagrams of the slides were redrawn.

What was checked

The command line simulator follows the order of the bash expansions (braces, ~, $NAME, word splitting, globs, quote removal) and was tested against the examples of the slides. The demo terminal simulates the jobs (sleep really waits), the signals of the keys, the PATH search and the variables; its messages follow bash and GNU coreutils. Its process list is simulated.

Mistakes

If you find one, open an issue with the page and the sentence. Version: November 2026.

Sources and contributors

Slides: USO Team, Copyright (C) 2026 Wyliodrin & Politehnica Bucharest, CC-BY-SA 4.0. Bibliography: the sources listed in the slides of the lecture.