aboutsummaryrefslogtreecommitdiff
path: root/man/man1/sleep.1
blob: 3eb617b462be201e9c5227c6aca3ef1a63736c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.TH SLEEP 1
.SH NAME
sleep \- suspend execution for an interval
.SH SYNOPSIS
.B sleep
.I time
.SH DESCRIPTION
.I Sleep
suspends execution for
.I time
seconds.
.SH EXAMPLES
Execute a command
100 seconds hence.
.IP
.EX
{sleep 100; command}&
.EE
.PP
Repeat a command every 30 seconds.
.IP
.EX
while (){
	command
	sleep 30
}
.EE
.SH SOURCE
.B \*9/src/cmd/sleep.c
.SH "SEE ALSO"
.IR sleep (3)