sleep

NAME

sleep - suspend execution for an interval of time

SYNOPSIS

sleep seconds

DESCRIPTION

The sleep(1) command suspends execution for a minimum of seconds. The sleep(1) command is used to schedule the execution of other commands (see EXAMPLES).

DIAGNOSTICS

The sleep(1) utility exits with one of the following values:

0
On successful completion, or if the signal SIGALRM was received.
>0
An error occurred.

EXAMPLES

To schedule the execution of a command for 1800 seconds later, use:

(sleep 1800; sh command_file >& errors)&
This invocation would wait a half hour before running the script command_file.