Safe movement
Move between root, etc, and home while checking location.
Understand the pattern
Most file mistakes begin with being in the wrong directory.
cd- Change the shell working directory; .. selects the parent and ~ identifies your home.
Changing directories changes how later relative paths resolve.
pwd- Print the directory that relative paths currently resolve from.
A relative path is interpreted from the working directory, not necessarily the home folder.
Worked example and expected result
$ cd /etc(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
$ pwd/etc
Exit status: 0. The command completed successfully in the training fixture.
$ cd ~(no output; exit 0)
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: Quoted pathsTry 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.