Run pwd.
pwd
Resolve relative names into full canonical paths.
Terminal basicspwdrealpath
Click any instruction for the command details, the why, and the common mistake to avoid.
Run pwd.
pwd
Run realpath README.txt.
realpath README.txt
Run realpath lab.
realpath lab
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Build repeatable confidence with relating the current directory to canonical paths.
Start with pwd, inspect the result, then continue in order.
Relating the current directory to canonical paths helps operators explain what they know before they change anything.
pwd
Print the current working directory.
realpath <path>
Resolve a path to its canonical simulated location.