Symlink inventory
Create, read, and inspect links before relying on them.
Understand the pattern
Junior operators build confidence by gathering evidence before changing systems.
ln- Create a symbolic link in the lab with ln -s.
A relative symlink target is interpreted from the link directory.
readlink- Inspect a symbolic-link target; use resolution options deliberately.
A symlink contains a target path, not another copy of the target file.
stat- Inspect a file or directory metadata record, including ownership, permissions, and size.
Metadata and file contents answer different questions.
Worked example and expected result
$ ln -s /srv/www/index.html lab/site-link(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
$ readlink lab/site-link/srv/www/index.html
Exit status: 0. The command completed successfully in the training fixture.
$ stat lab/site-linkPath: /home/learner/lab/site-link Type: link Mode: lrwxrwxrwx Owner: learner Group: learners Size: link -> /srv/www/index.html
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Glob safety previewTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.