Mission 37

Symbolic links

Create and inspect a simulated symbolic link.

Files and paths
8 minutes Core Lesson 37 of 360
mkdirlnstat
Lesson 37 of 360 0/360 lessons 0/17 missions Files and paths · 8 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 8 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Create lab

Run mkdir lab.

mkdir lab
Create link

Run ln -s /home/learner/README.txt lab/readme-link.

ln -s /home/learner/README.txt lab/readme-link
Inspect link

Run stat lab/readme-link.

stat lab/readme-link
Lesson support

What to notice while you play.

Objective

Recognize symlink behavior in a safe setting.

Hint

Create a lab folder before making the link.

Why it matters

Symlinks appear often in Unix configuration and deployment layouts.

Common mistakes
  • Assuming a symlink is a full copy.
  • Forgetting that link targets can break.
Reference

Commands in this lesson.

mkdir <name>

Create a folder.

ln -s <target> <link>

Create a simulated symbolic link.

stat <path>

Show lab file details.