print working directory name (POSIX)
Syntax:
pwd
Description:
The pwd utility writes the pathname of the current working
directory to the standard output.
The pwd command is available both as a shell alias
(equivalent to print "$PWD"),
and as a standalone utility.
Exit status:
- 0
- Successful completion.
- >0
- An error occurred.
See also:
- cd utility (Change working directory)
- fullpath utility (Display network-qualified pathnames)
- ls utility (List directory contents)
- sh utility (Command interpreter)