Suspends execution for an interval.
sleep Seconds
The sleep command suspends execution of a process for at least the interval specified by the Seconds parameter. The amount of time specified in the Seconds parameter can range from 1 to MAXINT (2,147,483,647) seconds.
This command returns the following exit values:
| Item | Description | 
|---|---|
| 0 | The execution was successfully suspended for at least Seconds seconds, or a SIGALRM signal was received. | 
| >0 | An error occurred. | 
(
echo  "SYSTEM SHUTDOWN IN 10 MINUTES!" | wall
sleep 300; echo "SYSTEM SHUTDOWN IN 5 MINUTES!" | wall
sleep 240; echo "SYSTEM SHUTDOWN IN 1 MINUTE!" | wall
sleep 60; shutdown
)&while true
do
 date
 sleep 60
done