Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sleep(1) — Ultrix-11 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(2)

sleep(3)

sleep(1)

NAME

sleep − suspend execution for an interval

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. 

For example, the following command sequence delays the execution of the specified command for 105 seconds. 

(sleep 105; command)&

The next example repeatedly executes the same command every 37 seconds.

while true
do
command
sleep 37
done

RESTRICTIONS

The time must be less than 65536 seconds. 

SEE ALSO

alarm(2), sleep(3)

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