Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pwd(1) [opensolaris man page]

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)

Check Out this Related Man Page

sleep(1)							   User Commands							  sleep(1)

NAME
sleep - suspend execution for an interval SYNOPSIS
/usr/bin/sleep /usr/bin/sleep time ksh93 sleep time DESCRIPTION
/usr/bin/sleep sleep suspends execution for at least the integral number of seconds specified by time. ksh93 sleep suspends execution for at least the time in seconds specified by time or until a SIGALRM signal is received. OPERANDS
/usr/bin/sleep The following operands are supported for /usr/bin/sleep: time time in seconds can be specified as a non-negative decimal integer number. ksh93 The following operands are supported: time Specify time in seconds as a floating point number. The actual granularity depends on the underlying system, normally around 1 mil- lisecond. EXAMPLES
Example 1 Suspending Command Execution The following example executes a command after a certain amount of time: example% (sleep 105; command)& Example 2 Executing a Command Every So Often The following example executes a command every so often: example% while true do command sleep 37 done ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of sleep: LANG, LC_ALL, LC_CTYPE, LC_MES- SAGES, and NLSPATH. EXIT STATUS
The following exit values are returned: 0 The execution was successfully suspended for at least time seconds, or a SIGALRM signal was received (see NOTES). >0 An error has occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: /usr/bin/sleep +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |Standard |See standards(5). | +-----------------------------+-----------------------------+ ksh93 +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
ksh93(1), wait(1), alarm(2), sleep(3C), wait(3UCB), attributes(5), environ(5), standards(5) NOTES
If the sleep utility receives a SIGALRM signal, one of the following actions is taken: o Terminate normally with a zero exit status. o Effectively ignore the signal. The sleep utility takes the standard action for all other signals. SunOS 5.11 20 Nov 2007 sleep(1)
Man Page