Sign inSign up free

713. Three Scripts That Won't Start

medium 20 XP ~8 minHands-on lab

A colleague copied the team's maintenance tools to /srv/lab/timber/. Running any of them directly fails right away:

student@lab:/srv/lab/timber$ ./backup.sh
student@lab:/srv/lab/timber$ ./rotate.sh
student@lab:/srv/lab/timber$ ./report.py

Task

  • Make ./backup.sh, ./rotate.sh and ./report.py each run successfully for student from that folder. Each prints one line ending in ok.
  • Don't change what they do: the commands inside each tool must stay the same.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Part of Prepare for the LFCS. Next step: Two Accounts That Shouldn't Exist Like This

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.