{"id":2913,"date":"2019-12-30T23:02:08","date_gmt":"2019-12-30T23:02:08","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2913"},"modified":"2019-12-30T23:02:19","modified_gmt":"2019-12-30T23:02:19","slug":"linux-command-to-make-computer-go-to-sleep","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/linux-command-to-make-computer-go-to-sleep\/","title":{"rendered":"Linux Command to make computer go to Sleep"},"content":{"rendered":"\n<p>You can tell the computer to go to sleep by executing the following command from a terminal<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl suspend<\/pre>\n\n\n\n<p>The computer should immediately go to sleep.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sleep with delay<\/h2>\n\n\n\n<p>If you would like to add a delay you can do the following.  Replace 5 with the number of seconds you want to wait.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sleep 5 &amp;&amp; systemctl suspend<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You can tell the computer to go to sleep by executing the following command from a terminal systemctl suspend The computer should immediately go to sleep. Sleep with delay If you would like to add a delay you can do &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/linux-command-to-make-computer-go-to-sleep\/\">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":[1],"tags":[313,7,666,849,450],"class_list":["post-2913","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-command","tag-linux-2","tag-sleep","tag-suspend","tag-systemctl"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2913","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=2913"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2913\/revisions"}],"predecessor-version":[{"id":2915,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2913\/revisions\/2915"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}