blob: 71b9d2a8245aca185330efa00ada02da2415ebb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
.Dd October 8, 2015
.Dt PWD 1
.Os sbase
.Sh NAME
.Nm pwd
.Nd print working directory
.Sh SYNOPSIS
.Nm
.Op Fl L | Fl P
.Sh DESCRIPTION
.Nm
prints the path of the current working directory.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl L
Logical path, uses $PWD.
This is the 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
POSIX.1-2013.
|