sleep
Command
The sleep
command suspends execution for a defined interval of time.
Usage
sleep <seconds>
Parameters
Parameter | Description | Required? | Default Value |
---|---|---|---|
seconds | Number of seconds | ✔️ |
Examples
Print the string '6 seconds later...' after 6 seconds have elapsed
> sleep 6; echo 6 seconds later...
6 seconds later...