Mission 312

Canonical path review

Turn relative and linked paths into stable absolute locations.

Files and paths
8 minutes Core Lesson 312 of 360
realpathpwd
Lesson 312 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.

Resolve README

Run realpath README.txt.

realpath README.txt
Resolve an absolute path

Run realpath /etc/nginx/sites-enabled/learn.conf.

realpath /etc/nginx/sites-enabled/learn.conf
Compare the working directory

Run pwd.

pwd
Lesson support

What to notice while you play.

Objective

Build repeatable confidence with resolving canonical filesystem paths.

Hint

Start with realpath README.txt, inspect the result, then continue in order.

Why it matters

Resolving canonical filesystem paths helps operators explain what they know before they change anything.

Common mistakes
  • Skipping the output that proves resolving canonical filesystem paths.
  • Changing several things before recording a baseline.
Reference

Commands in this lesson.

pwd

Print the current working directory.

realpath <path>

Resolve a path to its canonical simulated location.