Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
pwd(1) OSS Shell and Utilities Reference Manual
NAME
pwd - Displays current directory pathname
SYNOPSIS
pwd
DESCRIPTION
The pwd command writes to standard output the full pathname of your current directory from the
root directory. All directories are separated by a / (slash). The root directory is represented by
the first /, and the last directory named is your current directory.
The OSS shell contains a built-in command named pwd, that functions in the same way as the
regular OSS command named pwd, except that a new shell process is started for each execution
of the regular form of pwd. The shell built-in version is the default. A new subshell is not
started for each invocation of the shell built-in form of pwd. Both the regular form and the shell
built-in form of pwd are described in this reference page.
NOTES
The OSS pwd command has both a shell built-in version and a regular version. The two versions
have the same features and functionality. The only difference between the two versions is that
the shell built-in version does not start a new shell process when it is invoked. Both versions are
described in the reference page for pwd. The shell built-in version is the default. To specify the
regular version use the full pathname: /bin/pwd For more information about shell built-in com-
mands refer to the reference page for sh(1).
RELATED INFORMATION
Commands: cd(1), sh(1).
Functions: stat(2).
7−46 Hewlett-Packard Company 527188-021