Solaris Advanced User's Guide

Printing the Working Directory (pwd)

The pwd command (print working directory) displays where you are in the file system hierarchy.


$ pwd
/home/user1

Your output might be different from the example, as your directory structure is different. Your working directory is your current location within the file-system hierarchy.