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.  Both the Bourne shell (sh(1))  and Korn
     shell (ksh(1))  have their own built-in version of pwd.

     The pwd utility exits 0 on success or >0 if an error occurred.

STANDARDS
     The pwd utility is expected to be IEEE Std1003.2 (``POSIX.2'') compati-
     ble.

SEE ALSO
     cd(1),  csh(1),  ksh(1),  sh(1),  getcwd(3)

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

OpenBSD 2.6                     April 28, 1995                               1
