opensolaris man page for pwd

Query: pwd

OS: opensolaris

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

pwd(1)								   User Commands							    pwd(1)

NAME
pwd - return working directory name
SYNOPSIS
/usr/bin/pwd
DESCRIPTION
The pwd utility writes an absolute path name of the current working directory to standard output. Both the Bourne shell, sh(1), and the Korn shells, ksh(1) and ksh93(1), also have a built-in pwd command.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of pwd: LANG, LC_ALL, LC_MESSAGES, and NLSPATH.
EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. If an error is detected, output will not be written to standard output, a diagnostic message will be written to standard error, and the exit status will not be 0.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |CSI |Enabled | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |Standard |See standards(5). | +-----------------------------+-----------------------------+
SEE ALSO
cd(1), ksh(1), ksh93(1), sh(1), shell_builtins(1), attributes(5), environ(5), standards(5)
DIAGNOSTICS
``Cannot open ..'' and ``Read error in ..'' indicate possible file system trouble and should be referred to a UNIX system administrator.
NOTES
If you move the current directory or one above it, pwd may not give the correct response. Use the cd(1) command with a full path name to correct this situation. SunOS 5.11 2 Nov 2007 pwd(1)
Related Man Pages
dirs(1) - opensolaris
sleep(1) - opensolaris
dirs(1) - sunos
popd(1) - sunos
pushd(1) - opensolaris
Similar Topics in the Unix Linux Community
Reset environment - ".. /etc/.environment dev_env"
pwd & cd commands not working in shell script
set prompt = pwd
Make pwd print escape character
Crontab help