Log in / create account | Login with OpenID
DocForge
Programmer's Wiki

Sleep

From DocForge

sleep is a command-line utility which suspends execution for an interval of time.

[edit] Usage

sleep <seconds>

The sleep utility suspends execution for a minimum of <seconds>. It can be used to schedule or delay execution of other utilities or commands.

The sleep utility exits with one of the following values:

  • 0 - On successful completion or if the signal SIGALRM was received
  • > 0 - An error occurred

[edit] Availability

Do you have information or insights to contribute to this article? Please feel free to edit this page. Ask questions or contribute to the discussion on this article's talk page.