What does `pwd` command show?

QuestionsQuestions8 SkillsProDec, 12 2025
0142

The pwd command shows your current working directory.

Think of it like this: just as you might ask "Where am I?" when in an unfamiliar place, the pwd command answers that question for your current location within the Linux file system.

pwd stands for:

  • print
  • working
  • directory

So, when you type pwd in your terminal, it will display the full path to the directory you are currently operating in. For example, in this lab, your default working directory is /home/labex/project, so that's what pwd will output in most cases during these initial steps.

It's a foundational command in Linux that helps you stay oriented!

0 Comments

no data
Be the first to share your comment!