3/46
Sign inSign up free

2. Hard Links and Symbolic Links

easy 10 XP ~4 minHands-on lab100% acceptance

The deploy tool expects a stable name for the newest release, plus an extra copy that survives if someone deletes the original file.

The directory /srv/lab/releases contains vault.bin.

Task

Create these two links inside /srv/lab/releases:

  1. current — a symbolic link pointing to vault.bin
  2. vault.backup — a hard link to vault.bin

Do not copy the file.

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.

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.