Commit | Line | Data |
---|---|---|
32424d04 C |
1 | PWD(1) BSD Reference Manual PWD(1) |
2 | ||
3 | N\bNA\bAM\bME\bE | |
4 | p\bpw\bwd\bd - return working directory name | |
5 | ||
6 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
7 | p\bpw\bwd\bd | |
8 | ||
9 | D\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 | ||
15 | S\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 | ||
18 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
19 | cd(1), csh(1), getcwd(3) | |
20 | ||
21 | B\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 | ||
26 | 4th Berkeley Distribution April 28, 1995 1 |