Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > p

pwd(1)

HP-UX 11i Version 2: September 2004
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

pwd — working directory name

SYNOPSIS

pwd

DESCRIPTION

pwd prints the path name of the working (current) directory.

EXTERNAL INFLUENCES

Environment Variables

LC_MESSAGES determines the language in which messages are displayed.

If LC_MESSAGES is not specified in the environment or is set to the empty string, the value of LANG is used as a default for each unspecified or empty variable. 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.

STANDARDS CONFORMANCE

pwd: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2004 Hewlett-Packard Development Company, L.P.