PWD(1) UNIX Reference Manual PWD(1) NNAAMMEE ppwwdd - return working directory name SSYYNNOOPPSSIISS ppwwdd DDEESSCCRRIIPPTTIIOONN PPwwdd 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. SSTTAANNDDAARRDDSS The pwd function is expected to be POSIX 1003.2 compatible SSEEEE AALLSSOO cd(1), csh(1), getwd(3) BBUUGGSS In csh(1) the command ddiirrss 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).