pwd - Return the working directory name
pwd displays the absolute path name of the working directory to standard output.
If the current working directory is a symbolic link to another directory, the path name that is displayed depends on the setting of the shell's logical flag. See set for more information.
pwd is a built-in shell command and is also a separate utility.
See Localization for more information.
- Successful completion.
- Inability to determine the working directory.
POSIX.2, X/Open Portability Guide, UNIX systems.