plan9port/man/man1/pwd.1
Russ Cox d32deab17b tmac: rename IM (italic manual) to MR (manual reference)
Suggested by G. Brandon Robinson.
2020-08-15 20:09:40 -04:00

26 lines
465 B
Groff

.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
.MR rc (1) ,
.MR getwd (3)
.SH BUGS
.I Pwd
is not provided.
Unix already provides one.