PWD(1)                     OpenBSD Reference Manual                     PWD(1)

NAME
     pwd - return working directory name

SYNOPSIS
     pwd

DESCRIPTION
     The pwd utility prints the absolute pathname of the current working di-
     rectory to the standard output.  For an explanation of the directory hi-
     erarchy, see hier(7).

     The pwd utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     ksh(1), getcwd(3), hier(7)

STANDARDS
     The pwd utility is compliant with the IEEE Std 1003.1-2008 (``POSIX'')
     specification.

     pwd also exists as a built-in to ksh(1), though with a different syntax.

BUGS
     In csh(1), the command dirs is always faster (although it can give a dif-
     ferent answer in the rare case that the current directory or a containing
     directory was moved after the shell descended into it).

OpenBSD 4.7                    February 8, 2009                              1
