Where am I?
Your first command: pwd
⏱ Est. ~3 min
01 · Read
The moment you open the terminal, you are always somewhere (inside your computer's file system). Before you do anything, figure out where you're standing.
💡 Picture thisLike walking into an unfamiliar building, the first thing you do is find the red "You are here" dot on the map.
Key points
- pwd is short for print working directory
- It shows the full path of your current location
- Lost? Type pwd. It always works.
02 · Terminal exercise
The terminal is open. First thing you do in any terminal: figure out where you are.
(This section is interactive — please enable JavaScript.)
03 · Terminal exercise
Lost? Type pwd. It's your compass. Type it again to build muscle memory.
(This section is interactive — please enable JavaScript.)
04 · Quiz
What does pwd stand for?
- Path walking daemon
- Print working directory
- Path with directory
- Print working document
Other lessons in this chapter
⚠ The full interactive experience needs JavaScript. Please enable it and reload.
※ This is an independent Traditional Chinese teaching project — not an official Anthropic product. Claude™ is a trademark of Anthropic, PBC.