Aller au contenu
#0506
TerminalContainers

The worksheet's QR code opens a shell in the right folder

The printed lab sheet has a QR code in the corner. It encodes the student's terminal URL with ?terminal_id=7&cwd=/labs/07&cwd_auto_create=true&fontSize=16 and a cmd= holding base64 for cat README.md. The student scans it. The shell opens in /labs/07 and prints the README before they type a key.

terminal_id is the lab number, so scanning the same code tomorrow reattaches to the same session with yesterday's history intact. Students without a laptop do the lab on a phone: tap for the on-screen keyboard, two-finger scroll through the output.

Each worksheet is printed with that student's container hostname; the parameters are identical across the class. No accounts to create, no software to request from the IT office.

A piece of paper opened a Linux shell on a phone, in the right directory, with the instructions already on screen.