Random sleep duration in bash
Date: July 28, 2020
This will introduce a 1-10 second random sleep/pause in the script:
sleep $[ ( $RANDOM % 10 ) + 1 ]s
Reference: https://blog.buberel.org/2010/07/howto-random-sleep-duration-in-bash.html
This will introduce a 1-10 second random sleep/pause in the script:
sleep $[ ( $RANDOM % 10 ) + 1 ]s
Reference: https://blog.buberel.org/2010/07/howto-random-sleep-duration-in-bash.html