BSD 4_4_Lite2 development
[unix-history] / usr / share / man / cat1 / pwd.0
CommitLineData
32424d04
C
1PWD(1) BSD Reference Manual PWD(1)
2
3N\bNA\bAM\bME\bE
4 p\bpw\bwd\bd - return working directory name
5
6S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
7 p\bpw\bwd\bd
8
9D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
10 P\bPw\bwd\bd writes the absolute pathname of the current working directory to the
11 standard output.
12
13 The pwd utility exits 0 on success, and >0 if an error occurs.
14
15S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
16 The p\bpw\bwd\bd command is expected to be IEEE Std1003.2 (``POSIX'') compatible .
17
18S\bSE\bEE\bE A\bAL\bLS\bSO\bO
19 cd(1), csh(1), getcwd(3)
20
21B\bBU\bUG\bGS\bS
22 In csh(1) the command d\bdi\bir\brs\bs is always faster (although it can give a dif-
23 ferent answer in the rare case that the current directory or a containing
24 directory was moved after the shell descended into it).
25
264th Berkeley Distribution April 28, 1995 1