Name

pwd - Print working directory name

Syntax

pwd

Description

Pwd prints the pathname of the current working directory. This is identical to the following shell command

echo .

Upon logging in, the current working directory is set to what is called your “home” directory, the pathname contained in the shell’s $home variable. If you change directories with the cd command, use pwd to report the new working directory.

See Also

cd(C), csh(C)