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:
- You are currently inside the
projectfolder. - That folder is inside the
labexfolder. - Which is inside the
homefolder 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.