pwd Command Purpose Displays the path name of the working directory. Syntax pwd Description The pwd command writes to standard output the full path name of your current directory (from the root directory). All direc- tories are separated by a / (slash). The root directory is represented by the first /, and the last directory named is your current directory. Exit Status This command returns the following exit values: 0 Successful completion. >0 An error occurred. Examples Entering: pwd displays the current directory as: /home/thomas Implementation Specifics This command is part of Base Operating System (BOS) Runtime. Files /usr/bin/pwd Contains the pwd command. Related Information Directory Overview in AIX Version 3.2 System User's Guide: Base and Devices. The cd command. The getcwd subroutine.