2015-10-08 11:15:08 -04:00
|
|
|
.Dd 2015-10-08
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt PWD 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2014-11-23 07:55:56 -05:00
|
|
|
.Sh NAME
|
|
|
|
.Nm pwd
|
|
|
|
.Nd print working directory
|
|
|
|
.Sh SYNOPSIS
|
2015-01-30 15:17:58 -05:00
|
|
|
.Nm
|
2015-03-27 12:22:48 -04:00
|
|
|
.Op Fl L | Fl P
|
2014-11-23 07:55:56 -05:00
|
|
|
.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
|
2020-03-01 17:37:31 -05:00
|
|
|
Logical path, uses $PWD.
|
|
|
|
This is the default.
|
2014-11-23 07:55:56 -05:00
|
|
|
.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
|
2015-03-27 12:22:48 -04:00
|
|
|
.St -p1003.1-2013
|
2014-11-23 07:55:56 -05:00
|
|
|
specification.
|