pwd

display working directory

Command


SYNOPSIS

pwd


DESCRIPTION

pwd displays the absolute path name of the current working directory to standard output.


DIAGNOSTICS

Possible exit status values are:
0

Successful completion.

1

pwd cannot determine the current working directory.


PORTABILITY

POSIX.2. x/OPEN Portability Guide 4.0.


NOTE

pwd exists both as an alias built into the MKS KornShell and as a separate utility. The shell defines pwd as:
alias pwd='print - $PWD'
When a symbolic link is used to get to a directory, the built-in alias may not return the real name of the working directory.


SEE ALSO

Commands:
sh


Updated MKS Toolkit [3khat16.ico]HP3000 [3khat16.ico]3kMail [archive16.gif]