Linux Labs

First steps / Stage 5 of 15 · step 7 of 8

Navigation: find a file in a tree

introductory ~10 min
Not running Starting usually ~20 s
Report a problem

Situation

The team dumps everything into /srv/data: projects, an archive, people's own files. A colleague put the file flag.txt somewhere in there and cannot remember which directory. They need the full path to the file.

Task

Write the absolute path to flag.txt into ~/answer.txt as a single line, for example /srv/data/a/b/flag.txt. The file holds the path only, nothing else.

Visible only to you. Saved as you type.

All notes

Lab goals

0 of 2
  • File ~/answer.txt exists and is not empty — not checked yet
  • ~/answer.txt holds the absolute path to flag.txt on one line — not checked yet

Hints

0 of 3 open · they open one at a time
Hint 1
Show the solution after 3 failed checks

Leave the lab?

The machine keeps running for 10 more minutes, then it is removed. Files are lost; completed goals stay.

Loading…