Command sleep


This command is part of the posix extensions and needs to be imported to be available to the shell.
See Posix Commands

Name

sleep delays execution


Synopsis

sleep seconds

Description


Delays execution in the current shell (thread) for the specified time.
Note: unlike the posix sleep command, seconds can be fractional (float).
As with the posix sleep command the delay is approximate, there is no guarantee that the delay will be accurate.

Example, delay for approx 2.5 seconds

sleep 2.5



Return Value

Returns 0 if the command executed successfully, 1 if there was an error.

Commands
CategoryCommands
CommandsPosix
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki