2014-11-23 07:55:56 -05:00
|
|
|
.Dd November 23, 2014
|
|
|
|
.Dt PWD 1 sbase\-VERSION
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm pwd
|
|
|
|
.Nd print working directory
|
|
|
|
.Sh SYNOPSIS
|
2015-01-30 15:17:58 -05:00
|
|
|
.Nm
|
2014-11-23 07:55:56 -05:00
|
|
|
.Op Fl LP
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2011-05-23 15:15:19 -04:00
|
|
|
prints the path of the current working directory.
|
2014-11-23 07:55:56 -05:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl L
|
|
|
|
Logical path, uses $PWD (default).
|
|
|
|
.It Fl P
|
|
|
|
Physical path, avoids all symlinks.
|
|
|
|
.El
|
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width PWD
|
|
|
|
.It Ev PWD
|
|
|
|
The logical path to the current working directory.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr getcwd 3
|
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
|
|
|
.St -p1003.1-2008
|
|
|
|
specification.
|