Name

sleep — Delay for a specified amount of time

Synopsis

sleep {time}

Options

time

Time in seconds to delay

Description

This command is used to pause execution for a given length of time. The time given must be a simple integer number of seconds.

Example 51. Using the sleep command to delay execution

>date ; sleep 15 ; date ; sleep 9 ; date ; sleep 292 ; date
Fri Jan 05 04:25:51 2003
Fri Jan 05 04:26:06 2003
Fri Jan 05 04:26:15 2003
Fri Jan 05 04:31:07 2003
>