[[linux_wiki:sleep]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_wiki:sleep [2019/05/26 03: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
 +</​code>​
 +
 +----
  
  • linux_wiki/sleep.txt
  • Last modified: 2019/05/26 03:50
  • (external edit)