Research V7 development
[unix-history] / usr / man / man1 / sleep.1
CommitLineData
c1c0cbf7
KT
1.TH SLEEP 1
2.SH NAME
3sleep \- suspend execution for an interval
4.SH SYNOPSIS
5.B sleep
6time
7.SH DESCRIPTION
8.I Sleep
9suspends execution for
10.I time
11seconds.
12It is used to execute a command
13after a certain amount of time as in:
14.PP
15 (sleep 105; command)&
16.PP
17or to execute a command every so often, as in:
18.PP
19 while true
20.br
21 do
22.br
23 command
24.br
25 sleep 37
26.br
27 done
28.SH "SEE ALSO"
29alarm(2), sleep(3)
30.SH BUGS
31.I Time
32must be less than 65536 seconds.