Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (6561 KB)
pwd(1)Name | Synopsis | Description | Environment Variables | Exit Status | Attributes | See Also | Diagnostics | Notes Name
Synopsis/usr/bin/pwd DescriptionThe pwd utility writes an absolute path name of the current working directory to standard output. Both the Bourne shell, sh(1), and the Korn shell, ksh(1), also have a built-in pwd command. Environment VariablesSee environ(5) for descriptions of the following environment variables that affect the execution of pwd: LANG, LC_ALL, LC_MESSAGES, and NLSPATH. Exit Status
The following exit values are returned: If an error is detected, output will not be written to standard output, a diagnostic message will be written to standard error, and the exit status will not be 0. AttributesSee attributes(5) for descriptions of the following attributes:
See AlsoDiagnostics``Cannot open ..'' and ``Read error in ..'' indicate possible file system trouble and should be referred to a UNIX system administrator. NotesIf you move the current directory or one above it, pwd may not give the correct response. Use the cd(1) command with a full path name to correct this situation. Name | Synopsis | Description | Environment Variables | Exit Status | Attributes | See Also | Diagnostics | Notes |
||||||||