pwd

Practice pwd from memory — 1 Bash drill covering the safe first move and a short explanation each time.

Print the full absolute path of the current directory.

pwd

pwd prints the absolute path of the shell's current directory, resolving any symlinks along the way (use -P to be explicit). It's the first thing to run after sshing into an unfamiliar host.

Safety: Preview paths and redirections before changing files or streams.

Build the habit: BashDrill drills pwd and the rest of the Bash workflow until the safe first move is automatic. Try a Bash drill.