1.\" Copyright (c) 1990 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" %sccs.include.redist.man% 5.\" 6.\" @(#)pwd.1 6.3 (Berkeley) 07/24/90 7.\" 8.Dd 9.Dt PWD 1 10.Os BSD 4 11.Sh NAME 12.Nm pwd 13.Nd return working directory name 14.Sh SYNOPSIS 15.Nm pwd 16.Sh DESCRIPTION 17.Nm Pwd 18writes the absolute pathname of the current working directory to 19the standard output. 20.Pp 21The pwd utility exits 0 on success, and >0 if an error occurs. 22.Sh STANDARDS 23The pwd function is expected to be POSIX 1003.2 compatible 24.Sh SEE ALSO 25.Xr cd 1 , 26.Xr csh 1 , 27.Xr getwd 3 28.Sh BUGS 29In 30.Xr csh 1 31the command 32.Ic dirs 33is always faster (although it can give a different answer in the rare case 34that the current directory or a containing directory was moved after 35the shell descended into it). 36