1PWD(1) 386BSD Reference Manual PWD(1) 2 3NNAAMMEE 4 ppwwdd - return working directory name 5 6SSYYNNOOPPSSIISS 7 ppwwdd 8 9DDEESSCCRRIIPPTTIIOONN 10 PPwwdd 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 15SSTTAANNDDAARRDDSS 16 The pwd function is expected to be POSIX 1003.2 compatible 17 18SSEEEE AALLSSOO 19 cd(1), csh(1), getwd(3) 20 21BBUUGGSS 22 In csh(1) the command ddiirrss is always faster (although it can give a 23 different answer in the rare case that the current directory or a 24 containing directory was moved after the shell descended into it). 25 264th Berkeley Distribution June 27, 1991 1 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67