Displays the path name of the working directory.
pwd
The pwd command writes to standard output the full path name of your current directory (from the root directory). All directories are separated by a / (slash). The root directory is represented by the first /, and the last directory named is your current directory.
This command returns the
following exit values:
0 | Successful completion. |
>0 | An error occurred. |
pwd
displays the current directory as:
/home/thomas
/usr/bin/pwd | Contains the pwd command. |
The cd command.
The getcwd subroutine.
Directory Overview in AIX 5L Version 5.1 System User's Guide: Operating System and Devices.