file reorg, pathnames.h paths.h
[unix-history] / usr / src / bin / sleep / sleep.1
CommitLineData
93dac6e6 1.\" @(#)sleep.1 6.1 (Berkeley) %G%
1039c22a 2.\"
93dac6e6 3.TH SLEEP 1 ""
1039c22a
KM
4.AT 3
5.SH NAME
6sleep \- suspend execution for an interval
7.SH SYNOPSIS
8.B sleep
9time
10.SH DESCRIPTION
11.I Sleep
12suspends execution for
13.I time
14seconds.
a56392fb 15It is used to execute a command after a certain amount of time as in:
1039c22a
KM
16.PP
17 (sleep 105; command)&
18.PP
19or to execute a command every so often, as in:
20.PP
21 while true
22.br
23 do
24.br
25 command
26.br
27 sleep 37
28.br
29 done
30.SH "SEE ALSO"
a56392fb 31setitimer(2), alarm(3C), sleep(3)
1039c22a
KM
32.SH BUGS
33.I Time
a56392fb 34must be less than 2,147,483,647 seconds.