aboutsummaryrefslogtreecommitdiff
path: root/man/man1/sleep.1
blob: f5f7c4cfff7f673a87881bda12def5c9e17f6245 (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"
.MR sleep (3)