cli.fail

Practice this fail.

Where does this link go?

Linux · Restart as often as you like

Read the error, choose a command, and learn
why it works. Nothing runs on your machine.

Browse all practice ↗

Linux · Intermediate

Using GNU readlink, resolve ./current through symbolic links to an absolute canonical path. The target and every parent exist.

Where does this link go?

$ ls -l ./current

current -> releases/latest

How do you print the fully resolved path?

3 attempts remaining

Read why this fix works

Where does this link go?

readlink -f ./current

readlink -f follows links and canonicalizes the path. Its existence rules differ from -e and -m; the scenario guarantees an existing target so that distinction does not interfere here.

Practice rounds do not affect the daily score or local streak. Try today’s challenge, or choose another scenario.

Copy your result