$
Learn Linux handbook
en
XP:0
Quest 128Inode Master
+280 XP

Repairing Symbolic Links (ln -sf)

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

DANGLING LINK ALERT: Following a log consolidation migration, the operational link at /home/learner/links/current_log became dangling because its original target was moved.

Repair the link farm: update the symbolic link /home/learner/links/current_log so it points directly to the real system logging destination /var/log/syslog.

Create or update the symbolic link /home/learner/links/current_log pointing to /var/log/syslog.

Command Syntax Reference

Command / SyntaxDescription
ls -l /home/learner/linksInspect existing symbolic links
ln -sf /var/log/syslog /home/learner/links/current_logForce update symbolic link target

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Point symlink /home/learner/links/current_log to /var/log/syslog

Ready to complete Quest 128?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.