BSD 4_4_Lite2 development
[unix-history] / usr / share / man / cat1 / pwd.0
PWD(1) BSD Reference Manual PWD(1)
N\bNA\bAM\bME\bE
p\bpw\bwd\bd - return working directory name
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
p\bpw\bwd\bd
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
standard output.
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
cd(1), csh(1), getcwd(3)
B\bBU\bUG\bGS\bS
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