Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setitimer(2)

alarm(3)

sleep(3)

sleep(1)

NAME

sleep − suspend execution for a time

SYNTAX

sleep time

DESCRIPTION

The sleep command suspends execution for time seconds.  It is used to execute a command after a certain amount of time as in:

(sleep 105; command)&

or to execute a command every so often, as in:

while true
 do
 command
 sleep 37
 done

RESTRICTIONS

The time must be less than 2,147,483,647 seconds. 

SEE ALSO

setitimer(2), alarm(3), sleep(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026