PWD(1) BSD Reference Manual PWD(1)
p
\bpw
\bwd
\bd - return working directory name
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
P
\bPw
\bwd
\bd writes the absolute pathname of the current working directory to the
The pwd utility exits 0 on success, and >0 if an error occurs.
S
\bST
\bTA
\bAN
\bND
\bDA
\bAR
\bRD
\bDS
\bS
The p
\bpw
\bwd
\bd command is expected to be IEEE Std1003.2 (``POSIX'') compatible .
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
In csh(1) the command d
\bdi
\bir
\brs
\bs 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 1