Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cd(1)

cdf(4)

pwd(1)

NAME

pwd − working directory name

SYNOPSIS

pwd [-H]

DESCRIPTION

pwd prints the path name of the working (current) directory.  The -H option causes pwd to reveal hidden directories (context-dependent files) in the path name and append a plus sign (+) to them.  See cdf(4).

EXTERNAL INFLUENCES

Environment Variables

LANG determines the language in which messages are displayed. 

If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. 

If any internationalization variable contains an invalid setting, pwd behaves as if all internationalization variables are set to "C".  See environ(5).

International Code Set Support

Single- and multi-byte character code sets are supported. 

DIAGNOSTICS

Cannot open .. 

Read error in .. 
Possible file system trouble; contact system administrator.

pwd: cannot access parent directories
Current directory has been removed (usually by a different process). Use cd command to move to a valid directory (see cd(1)).

EXAMPLES

This command lists the path of the current working directory.  If your home directory were /mnt/staff and the command cd camp/nevada were executed from the home directory, typing pwd would produce the following:

/mnt/staff/camp/nevada

AUTHOR

pwd was developed by AT&T and HP. 

SEE ALSO

cd(1), cdf(4). 

STANDARDS CONFORMANCE

pwd: SVID2, XPG2, XPG3, POSIX.2

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026