-
- pwd - write working directory name
-
- pwd [ options ]
-
- pwd writes an absolute pathname of the current working directory to standard output. An absolute pathname is a pathname that begins with
/ that does not contains any . or .. components.
- If both -L and -P are specified, the last one specified will be used. If neither -P or -L is specified then the
behavior will be determined by the getconf parameter PATH_RESOLVE. If PATH_RESOLVE is physical, then the behavior will
be as if -P were specified. Otherwise, the behavior will be as if -L were specified.
-
- -L
- The absolute pathname may contains symbolic link components. This is the default.
- -P
- The absolute pathname will not contain any symbolic link components.
-
- 0
- Successful completion.
- >0
- An error occurred.
-
- cd(1), getconf(1)
-
- version
- pwd (AT&T Research) 1999-06-07
- author
- David Korn <dgk@research.att.com>
- copyright
- Copyright © 1982-2010 AT&T Intellectual Property
- license
- http://www.opensource.org/licenses/cpl1.0.txt