Back to Blog
Arnošt Havelka

PWD - Print Working Directory

Find your current directory before running file commands

Start Interactive Lesson
PWD - Print Working Directory

The pwd command prints the full path of your current working directory. Use it whenever you need to confirm where you are before navigating or changing files.

pwd

In the course sandbox you will typically see a path such as /home/student.


Knowledge Check

1 / 1

Which command prints your current working directory?

References

These documentation links provide authoritative details for the commands used in this article.

Up Next

CLEAR - Clear the Screen

Learn to clear terminal output