man.bsd.lv manual page server

Manual Page Search Parameters

PWD(1) General Commands Manual PWD(1)

pwdreturn working directory name

pwd

Pwd 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.

The pwd command is expected to be IEEE Std 1003.2 (“POSIX.2”) compatible .

cd(1), csh(1), getcwd(3)

In csh(1) the command dirs is always faster (although it can give a different answer in the rare case that the current directory or a containing directory was moved after the shell descended into it).

BSD 4 April 28, 1995 PWD(1)