{"id":1007,"date":"2020-10-27T18:38:10","date_gmt":"2020-10-27T18:38:10","guid":{"rendered":"https:\/\/linuxways.net\/?p=1007"},"modified":"2020-11-13T22:30:43","modified_gmt":"2020-11-13T22:30:43","slug":"3-ways-to-safely-shutdown-ubuntu-20-04-lts","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/3-ways-to-safely-shutdown-ubuntu-20-04-lts\/","title":{"rendered":"3 ways to safely shutdown Ubuntu 20.04 LTS"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>After performing all the activities that you want on your computer system, the last thing that you would want to do is to shut it down for saving power resources. There are multiple ways of shutting down an operating system, however, for the scope of this article, we will be sharing with you all the methods of shutting down a Ubuntu system.<\/p>\n<p><strong>Note: We have used Ubuntu 20.04 to depict all the methods of shutting down a Ubuntu system. <\/strong><\/p>\n<h2>Methods of Shutting Down Ubuntu 20.04:<\/h2>\n<p>There are three main methods of shutting down a Ubuntu system which are discussed below:<\/p>\n<h3>Method # 1: Using the Ubuntu 20.04 Terminal:<\/h3>\n<p>Since most of the tasks in the Linux based systems are performed using the terminal, therefore, we planned to share with you this method that can be performed using the terminal for shutting down your Ubuntu 20.04 system. To follow this method, you need to execute the following command after launching your terminal:<\/p>\n<pre><strong>shutdown<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"314\" height=\"34\" class=\"wp-image-1008\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-572.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-572.png 314w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-572-300x32.png 300w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/strong><\/p>\n<p>Instead of immediately shutting down your Ubuntu system, this command schedules the shutdown exactly after one minute of executing this command. You can verify it by viewing the message that is displayed on your terminal after executing this command as shown in the image below. It means that your Ubuntu 20.04 system will shut down exactly after one minute of running the \u201cshutdown\u201d command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"715\" height=\"90\" class=\"wp-image-1009\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-573.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-573.png 715w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-573-300x38.png 300w\" sizes=\"auto, (max-width: 715px) 100vw, 715px\" \/><\/p>\n<p>However, at times, you might want to schedule your shutdown at a specified time. This can be done by tweaking the \u201cshutdown\u201d command in the following manner:<\/p>\n<pre><strong>shutdown +TimeInMinutes<\/strong><\/pre>\n<p>Here, you can replace the TimeInMinutes with the time after which you want to schedule your shutdown. To demonstrate this command, we wanted to schedule our shutdown after 2 minutes. That is why we have replaced TimeInMinutes with \u201c2\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"338\" height=\"31\" class=\"wp-image-1010\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-574.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-574.png 338w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-574-300x28.png 300w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/p>\n<p>After running this command, your terminal will display a confirmation message informing you about the exact time of shutdown as shown in the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"90\" class=\"wp-image-1011\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-575.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-575.png 713w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-575-300x38.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/p>\n<p>Lastly, if you wish to schedule the shutdown right now, then you can modify your \u201cshutdown\u201d command in the following manner:<\/p>\n<pre><strong>sudo shutdown \u2013P now<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"414\" height=\"29\" class=\"wp-image-1012\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-576.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-576.png 414w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-576-300x21.png 300w\" sizes=\"auto, (max-width: 414px) 100vw, 414px\" \/><\/strong><\/p>\n<p>When you will run this command, you will be asked to enter your system password as shown in the image below. As soon as you will provide your system password, your Ubuntu system will immediately shut down.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"422\" height=\"51\" class=\"wp-image-1013\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-577.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-577.png 422w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-577-300x36.png 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/p>\n<h3>Method # 2: Using the Ubuntu 20.04 GUI:<\/h3>\n<p>Although Ubuntu mostly provides the Command Line Interface (CLI), however, there are still some users that prefer to use the Graphical User Interface (GUI). This method is solely devised for such users. For using this method to shut down your Ubuntu system, you need to click on the small arrow located at the right corner of your Ubuntu taskbar as highlighted in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"801\" height=\"29\" class=\"wp-image-1014\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-578.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-578.png 801w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-578-300x11.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-578-768x28.png 768w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/p>\n<p>Clicking on this arrow will cause a menu to pop up on your screen from which you are supposed to select the \u201cPower Off\/ Log Out\u201d option as shown in the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"306\" height=\"240\" class=\"wp-image-1015\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-579.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-579.png 306w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-579-300x235.png 300w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/><\/p>\n<p>Once you will select this option, the \u201cPower Off\/ Log Out dropdown\u201d list will be expanded from where you need to choose the \u201cPower Off\u201d option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"304\" height=\"373\" class=\"wp-image-1016\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-580.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-580.png 304w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-580-245x300.png 245w\" sizes=\"auto, (max-width: 304px) 100vw, 304px\" \/><\/p>\n<p>Clicking on this option will display a dialogue box on your screen from which you need to select the \u201cPower Off\u201d option to immediately shut down your Ubuntu 20.04 system as shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"166\" class=\"wp-image-1017\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-581.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-581.png 433w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-581-300x115.png 300w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/p>\n<h3>Method # 3: Using the Power off Utility in Ubuntu 20.04:<\/h3>\n<p>Yet another GUI-based method of shutting down your Ubuntu system is by using the Power Off utility which can be accessed by searching for it in the Activities menu as shown in the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"385\" height=\"229\" class=\"wp-image-1018\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-582.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-582.png 385w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-582-300x178.png 300w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/p>\n<p>Once you will click on this utility, a dialogue box will appear on your screen from which you need to select the \u201cPower Off\u201d option to immediately shut down your Ubuntu 20.04 system as shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"434\" height=\"166\" class=\"wp-image-1019\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-583.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-583.png 434w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-583-300x115.png 300w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><\/p>\n<h2>Conclusion:<\/h2>\n<p>By using any of the three methods shared in this article, you can easily shut down your Ubuntu 20.04 system. You can choose any of these methods as per your own preference. All these methods will eventually cause your Ubuntu 20.04 system to shut down.<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction: After performing all the activities that you want on your computer system, the last thing that you would want to do is to shut it down for&hellip;<\/p>","protected":false},"author":3,"featured_media":1593,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[54,53],"class_list":["post-1007","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-poweroff","tag-shutdown"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/1007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=1007"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/1007\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/1593"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=1007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=1007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}