add POSIX/IEEE contribution notice
[unix-history] / usr / src / bin / pwd / pwd.1
CommitLineData
b5dc1377
CL
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
69f0efa6 3.\"
ae122740
KB
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
b5dc1377 7.\" %sccs.include.redist.man%
69f0efa6 8.\"
ae122740 9.\" @(#)pwd.1 6.5 (Berkeley) %G%
b5dc1377 10.\"
ee9b0a0a 11.Vx
b5dc1377
CL
12.Dd
13.Dt PWD 1
14.Os BSD 4
15.Sh NAME
16.Nm pwd
17.Nd return working directory name
18.Sh SYNOPSIS
19.Nm pwd
20.Sh DESCRIPTION
21.Nm Pwd
22writes the absolute pathname of the current working directory to
23the standard output.
24.Pp
25The pwd utility exits 0 on success, and >0 if an error occurs.
26.Sh STANDARDS
27The pwd function is expected to be POSIX 1003.2 compatible
28.Sh SEE ALSO
29.Xr cd 1 ,
30.Xr csh 1 ,
31.Xr getwd 3
32.Sh BUGS
69f0efa6 33In
b5dc1377 34.Xr csh 1
69f0efa6 35the command
b5dc1377 36.Ic dirs
69f0efa6
KM
37is always faster (although it can give a different answer in the rare case
38that the current directory or a containing directory was moved after
39the shell descended into it).