xref: /original-bsd/bin/sleep/sleep.1 (revision b7261a4b)
Copyright (c) 1990 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)sleep.1 6.2 (Berkeley) 06/24/90

SLEEP 1 "%Q"
.AT 3
NAME
sleep - suspend execution for an interval
SYNOPSIS
sleep time
DESCRIPTION
Sleep suspends execution for time seconds. It is used to execute a command after a certain amount of time as in:

(sleep 105; command)&

or to execute a command every so often, as in:

while true

do

command

sleep 37

done

"SEE ALSO"
setitimer(2), alarm(3C), sleep(3)
BUGS
Time must be less than 2,147,483,647 seconds.