Skip to main content

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...