aboutsummaryrefslogtreecommitdiff
path: root/man/man1/pwd.1
blob: 0a3e0668453c0b39cb5948b13ef481fba2ade1d9 (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
.TH PWD 1
.SH NAME
pwd, pbd \- working directory
.SH SYNOPSIS
.B pwd
.br
.B pbd
.SH DESCRIPTION
.I Pwd
prints the path name of the working (current) directory.
.PP
.I Pbd
prints the base name of the working (current) directory.
It prints no final newline and is intended for applications
such as constructing shell prompts.
.SH SOURCE
.B \*9/src/cmd/pbd.c
.SH SEE ALSO
.I cd
in
.IR rc (1),
.IR getwd (3)
.SH BUGS
.I Pwd
is not provided.
Unix already provides one.