tmpfs.tech · all tracks · Bash & Scripting

Retry until success

Bash & Scripting · pro · live throwaway Linux box · 3 tiered hints

Write /home/player/retry.sh N CMD... that runs CMD up to N times until it exits 0; exit 0 if any succeeds else non-zero.

▶ Start this challenge

Nobody has solved this one yet — be the first clear on the leaderboard.

How it works

Press start and you get your own real, disposable Linux VM — in the browser terminal or over SSH. Work the task on a live system; tmpfs.tech grades your solution automatically against the actual machine state, then throws the box away. No install, free to try as a guest.

More Bash & Scripting challenges

Write robust shell: loops, parsing, exit codes and small automation.

See all Bash & Scripting challenges →

FAQ

Is it free? Yes — play as a guest, no signup required to start.

Do I need to install anything? No. Everything runs in your browser, or connect over SSH if you prefer your own terminal.

How is it graded? Automatically and deterministically — your work is checked against the real state of the machine you worked on.