sleep(1) General Commands Manual sleep(1)
NAME
sleep - suspend execution for an interval
SYNOPSIS
time
DESCRIPTION
suspends execution for time seconds. It is used to execute a command after a certain amount of time, as in:
or to execute a command periodically, as in:
command
RETURN VALUE
exits with one of the following values:
0 The execution was successfully suspended for time seconds, or a SIGALRM signal was received.
>0 If the time operand is missing, is not a decimal integer, is negative, or is greater than returns with exit status 2.
SEE ALSO
alarm(2), sleep(3C).
STANDARDS CONFORMANCE
sleep(1)