pwd

noun

say it: “PEE-DUB-ul-yoo-DEE” /ˌpiː ˈdʌbəljuː ˈdiː/ or “PEE DUB-ul-yoo DEE” /piː ˈdʌbəljuː diː/

A command that prints the full path of the folder the terminal is working in right now.

What does pwd do?

pwd ("print working directory") shows which folder you are in.

pwd
# /home/maria/projects

In a sentence

  • “When I wasn't sure where I was, pwd printed /c/Users/sam/projects.”
  • “Maya typed pwd to check she was in her biology folder before deleting anything.”
  • “The help desk asked Diego to run pwd and paste the answer into the chat.”

Level: Novice · More Unix terms at this level

Updated