pwd - return working directory name
The pwd utility prints the absolute pathname of the current
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.
cd(1), csh(1), ksh(1), sh(1), getcwd(3)
The pwd utility is expected to be IEEE Std 1003.2
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
directory was moved after the shell descended into it).
OpenBSD 3.6 April 28, 1995
[ Back ]