pwd

Print working directory name (POSIX)

Syntax:

pwd

Runs on:

QNX Neutrino, Microsoft Windows

Options:

None.

Description:

The pwd utility writes the pathname of the current working directory to the standard output.

The pwd command is available both as a shell alias (equivalent to print "$PWD"), and as a standalone utility. For information about the builtin pwd command, see ksh. To make sure you use the executable, specify the full path.

Exit status:

0
Successful completion.
>0
An error occurred.

See also:

cd (builtin ksh command), fullpath, ksh, ls