Symlink chain audit
Create a link, inspect its stored target, and resolve the final path.
Understand the pattern
Auditing symbolic-link targets helps operators explain what they know before they change anything.
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.
realpath- Resolve a path to its canonical location in the virtual filesystem.
Resolving a path and reading its contents are separate operations.
Worked example and expected result
$ ln -s /home/learner/README.txt lab/readme-audit-link(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
$ readlink lab/readme-audit-link/home/learner/README.txt
Exit status: 0. The command completed successfully in the training fixture.
$ realpath lab/readme-audit-link/home/learner/README.txt
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: Archive manifest workflowTry 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.