What does pwd command show?

QuestionsQuestions8 SkillsProDec, 25 2025
0111

The pwd command stands for "Print Working Directory."

When you run it, it shows the full absolute path of the directory you are currently in.

In your current LabEx environment:

  1. If you just opened the terminal, running pwd should show:
    /home/labex/project
  2. If you use the command cd ~ to move to your home directory and then run pwd, it will show:
    /home/labex

Think of it as a "You Are Here" marker on a map. Since the command line doesn't always show your full location, pwd is the quickest way to orient yourself

0 Comments

no data
Be the first to share your comment!