Differences
This shows you the differences between two versions of the page.
— |
linux_wiki:sleep [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Sleep ====== | ||
+ | |||
+ | **General Information** | ||
+ | |||
+ | Sleep makes the calling thread pause for a specified number of seconds. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Sleep For a Random Time ====== | ||
+ | |||
+ | Sleep for a random time from 1 - 300 seconds (up to 5 mins). | ||
+ | <code bash> | ||
+ | sleep $[ ($RANDOM % 300) + 1 ]s | ||
+ | </ | ||
+ | |||
+ | ---- | ||