PWD(1) OpenBSD Reference Manual PWD(1)NAMEpwd - return working directory name
SYNOPSISpwdDESCRIPTION
The pwd utility prints the absolute pathname of the current working
directory to the standard output. For an explanation of the directory
hierarchy, see hier(7).
EXIT STATUS
The pwd utility exits 0 on success, and >0 if an error occurs.
SEE ALSOksh(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
different answer in the rare case that the current directory or a
containing directory was moved after the shell descended into it).
OpenBSD 4.9 September 3, 2010 OpenBSD 4.9