What does the `pwd` command show?

QuestionsQuestions8 SkillsProDec, 24 2025
0155

The pwd command shows the full absolute path of your current location in the Linux file system.

Think of it as the "You Are Here" marker on a map.

When you run it in this lab, it displays:

/home/labex/project

This tells you that:

  1. You are currently inside the project folder.
  2. That folder is inside the labex folder.
  3. Which is inside the home folder at the base of the system.

It is helpful because, unlike a graphical interface (like Windows or macOS) where you can see folders visually, the terminal only shows a small part of the path in the prompt. pwd gives you the complete picture.

0 Comments

no data
Be the first to share your comment!