Untitled Document
sleep Command

sleep - command is used to delay for a specified amount of time.The sleep command pauses for an amount of time defined by NUMBER.SUFFIX may be "s" for seconds (the default), "m" for minutes, "h" for hours, or "d" for days.Some implementations require that NUMBER be an integer, but modern Linux implementations allow NUMBER to also be a floating-point value.

If more than one NUMBER is specified, sleep delays for the sum of their values.

Example 1 - Syntax of sleep command

The syntax of sleep command is as follows

   sleep NUMBER[SUFFIX]...
   sleep OPTION

Example 2 Basic Example

Delays for 60 seconds.

   sleep 60    
Untitled Document