$
学ぶ Linux ハンドブック
ja
XP:0
クエスト 128Inode Master
+280 XP

Repairing Symbolic Links (ln -sf)

このクエストの対話型ターミナルを起動する→インストール不要 • ブラウザ上で完全動作

概念と概要

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 / SyntaxDescription
ls -l /home/learner/linksInspect existing symbolic links
ln -sf /var/log/syslog /home/learner/links/current_logForce update symbolic link target

検証目標

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

クエスト完了への準備はできましたか? 128?