What does `pwd` command do?

QuestionsQuestions8 SkillsProDec, 14 2025
0150

Hello!

That's an excellent question. The pwd command stands for Print Working Directory.

When you type pwd in your terminal and press Enter, it will display the full path of the directory you are currently in. This is very useful for knowing exactly where you are in the hierarchical file system, especially when you're moving between different directories.

For example, if you're in the /home/labex/project directory, running pwd will output:

/home/labex/project

Let me know if you have more questions about this or any other commands!

0 Comments

no data
Be the first to share your comment!