Keep Only the Newest Backups
Nightly backups are named backup-YYYY-MM-DD.tar.gz. Write a retention script.
Create the executable script /home/student/bin/prune-backups.sh DIR N that:
DIR, newest meaning the date in the name (file times can be wrong after a restore)backup-YYYY-MM-DD.tar.gzAbout 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.
Your machine is ready to start
Create a free account to open a machine and get graded.