Symbolic links
Create and inspect a simulated symbolic link.
Understand the pattern
Symlinks appear often in Unix configuration and deployment layouts.
mkdir- Create a directory. -p also creates missing parent directories and accepts an existing directory.
Creating a folder does not change the current directory.
ln- Create a symbolic link in the lab with ln -s.
A relative symlink target is interpreted from the link directory.
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
$ mkdir -p lab(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
$ ln -s /home/learner/README.txt lab/readme-link(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
$ stat lab/readme-linkPath: /home/learner/lab/readme-link Type: link Mode: lrwxrwxrwx Owner: learner Group: learners Size: 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 basicsTry 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.