PWD(1) BSD General Commands Manual PWD(1)NAMEpwd — return working directory name
SYNOPSISpwdDESCRIPTION
Pwd writes the absolute pathname of the current working directory to the
standard output.
The pwd utility exits 0 on success, and >0 if an error occurs.
STANDARDS
The pwd command is expected to be IEEE Std 1003.2 (“POSIX.2”) compatible
.
SEE ALSOcd(1), csh(1), getcwd(3)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).
4th Berkeley Distribution April 28, 1995 4th Berkeley Distribution