plan9port/man/man1/pwd.1

27 lines
464 B
Groff
Raw Normal View History

2005-01-03 06:40:20 +00:00
.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
2005-01-11 17:37:33 +00:00
.B \*9/src/cmd/pbd.c
2005-01-03 06:40:20 +00:00
.SH SEE ALSO
.I cd
in
.IR rc (1),
.IR getwd (3)
.SH BUGS
.I Pwd
is not provided.
Unix already provides one.