Skip to main content
Version: 3.1.0

sleep Command

The sleep command suspends execution for a defined interval of time.

Usage

sleep <seconds>

Parameters

ParameterDescriptionRequired?Default Value
secondsNumber of seconds✔️N/A

Examples

Print the string '6 seconds later...' after 6 seconds have elapsed
> sleep 6; echo 6 seconds later...
​6 seconds later...