tmpfs.tech · all tracks · Bash & Scripting

Timestamped Logging Helper

Bash & Scripting · easy · solved in-browser (no VM needed) · 3 tiered hints

Write /home/player/logger.sh whose first line is the env-bash shebang #!/usr/bin/env bash. Define a `log()` function that timestamps each message with `date`, formats the line with `printf` using a `%s` specifier, and writes to standard error by redirecting with >&2. (Authored config, graded structurally — the engine isn't run here.)

▶ Start this challenge

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

How it works

Open the challenge and an in-page editor appears — write your answer and tmpfs.tech grades it server-side against the same checks a real box would run. No VM, no install, no signup needed to try.

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.

How is it graded? Automatically and deterministically — your work is checked against the exact rules the live box would apply.