{"id":2692,"date":"2019-10-05T21:32:14","date_gmt":"2019-10-05T21:32:14","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2692"},"modified":"2019-10-08T03:19:21","modified_gmt":"2019-10-08T03:19:21","slug":"bash-random-sleep-timer","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/bash-random-sleep-timer\/","title":{"rendered":"Bash random sleep timer"},"content":{"rendered":"\n<p>Change the 10 to however many seconds you need or want.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo $(( ( RANDOM % 10 ) +1 ))<\/pre>\n\n\n\n<p>Example output<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bob@localhost:~$ echo $(( ( RANDOM % 10 ) +1 ))\n10\nbob@localhost:~$ echo $(( ( RANDOM % 10 ) +1 ))\n2\nbob@localhost:~$ echo $(( ( RANDOM % 10 ) +1 ))\n9\nbob@localhost:~$ <\/pre>\n\n\n\n<p><strong>Sleep timer<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sleep $(( ( RANDOM % 10 ) +1 ))<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Change the 10 to however many seconds you need or want. echo $(( ( RANDOM % 10 ) +1 )) Example output bob@localhost:~$ echo $(( ( RANDOM % 10 ) +1 )) 10 bob@localhost:~$ echo $(( ( RANDOM % 10 &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/bash-random-sleep-timer\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[211,7,752,666,724],"class_list":["post-2692","post","type-post","status-publish","format-standard","hentry","category-linux","tag-bash","tag-linux-2","tag-random","tag-sleep","tag-timer"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2692"}],"version-history":[{"count":3,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2692\/revisions"}],"predecessor-version":[{"id":2700,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2692\/revisions\/2700"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}