Skip to main content
Version: 4.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✔️

Examples

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