{"id":2518,"date":"2020-12-14T12:13:26","date_gmt":"2020-12-14T12:13:26","guid":{"rendered":"https:\/\/linuxways.net\/?p=2518"},"modified":"2020-12-14T12:13:28","modified_gmt":"2020-12-14T12:13:28","slug":"how-to-reboot-centos-8","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/centos\/how-to-reboot-centos-8\/","title":{"rendered":"How to Reboot CentOS 8"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>Linux OS as compared to Windows OS usually does not require a reboot. Linux OS can run for a longer time without a reboot except for a few cases like when there is a kernel update or security patches when it becomes important to reboot. Like with everything in Linux, there are several ways to perform a single task, the same is true with rebooting the OS. There is a number of ways to reboot a Linux system. In this post, we are going to show you some ways for rebooting a CentOS system.<\/p>\n<p>You can reboot the CentOS using either of the following methods:<\/p>\n<ul>\n<li>Through keyboard shortcut<\/li>\n<li>Through command line<\/li>\n<li>Through GUI (Graphical User Interface)<\/li>\n<\/ul>\n<p>Note: The commands and procedures mentioned here have been tested on the latest CentOS release i.e. <strong>CentOS 8. <\/strong><\/p>\n<h2>Methods of Shutting Down CentOS<\/h2>\n<h3>Reboot CentOS through Keyboard Shortcut<\/h3>\n<p>The quickest method to reboot a Linux system is by using the keyboard shortcut. Whenever you need to reboot your CentOS system, simply press <strong>Ctrl+Alt+Del<\/strong>.<\/p>\n<p>It will show the following dialog. Click the <strong>Restart<\/strong> button in order to reboot your system. To cancel the restart, click <strong>Cancel<\/strong>. If you do not pick any option, the machine will automatically poweroff in 1 minute.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"205\" class=\"wp-image-2519\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-190.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-190.png 538w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-190-300x114.png 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/p>\n<h3>Reboot CentOS through Command Line<\/h3>\n<p>Here, we will share some of the command line ways to reboot a CentOS system:<\/p>\n<h4>Method # 1: Using the &#8220;reboot&#8221; Command:<\/h4>\n<p>The most common way to reboot a Linux system is by using the &#8220;reboot&#8221; command. Simply type the following command in Terminal to reboot your system:<\/p>\n<pre>$ reboot<\/pre>\n<p>This command will start rebooting your system at once.<\/p>\n<p>In order to force reboot the system; use the &#8211;force or -f option as follows:<\/p>\n<pre>$ reboot --force<\/pre>\n<p>or<\/p>\n<pre>$ reboot -f<\/pre>\n<h4>Method # 2: Using the &#8220;poweroff&#8221; Command:<\/h4>\n<p>Usually, the poweroff command is used to poweroff the system; however, you can also use it to reboot the system. To reboot the CentOS system, type <em>poweroff<\/em> followed by &#8211;reboot option.<\/p>\n<pre>$ poweroff --reboot<\/pre>\n<p>This command will start rebooting your system at once.<\/p>\n<h4>Method # 3: Using the &#8220;shutdown&#8221; Command:<\/h4>\n<p>Similar to the poweroff command, the shutdown command can also be used to reboot the system. In order to reboot a CentOS system, type <em>shutdown<\/em> followed by either &#8211;reboot or -r option as follows:<\/p>\n<pre>$ shutdown --reboot<\/pre>\n<p>or<\/p>\n<pre>$ shutdown -r<\/pre>\n<p>This command will start rebooting your system at once.<\/p>\n<h4>Method # 4: Using the &#8220;halt&#8221; Command:<\/h4>\n<p>The halt command can also be used to reboot a CentOS system. In order to reboot the system, type halt followed by &#8211;reboot option:<\/p>\n<pre>$ halt --reboot<\/pre>\n<p>This command will start rebooting your system at once.<\/p>\n<h4>Method # 5: Using the &#8220;telinit&#8221; Command:<\/h4>\n<p>Another method to reboot a CentOS system is via telinit command. In order to reboot a CentOS system, type telinit followed by 6:<\/p>\n<pre>$ telinit 6<\/pre>\n<p>This command will start rebooting your system at once.<\/p>\n<h3>Reboot CentOS through GUI<\/h3>\n<p>For users who prefer to work on GUI, here is how to reboot a CentOS system from the graphical interface:<\/p>\n<h4>Method # 1: Using the Power Off Button:<\/h4>\n<p>Many of the user activities can be performed right from the desktop. This also applies to rebooting the system. In order to reboot the CentOS system, access the menu at the top right corner of your desktop by clicking on it. By doing so, a drop-down menu will show up. Click the poweroff button as visible in the following screenshot.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"358\" height=\"341\" class=\"wp-image-2520\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-191.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-191.png 358w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-191-300x286.png 300w\" sizes=\"auto, (max-width: 358px) 100vw, 358px\" \/><\/p>\n<p>After clicking the poweroff button, the following dialog will appear. Click the <strong>Restart<\/strong> button in order to reboot your system. To cancel the restart, click <strong>Cancel<\/strong>. If you do not pick any option, the machine will automatically poweroff in 1 minute.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"205\" class=\"wp-image-2521\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-192.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-192.png 538w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-192-300x114.png 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/p>\n<h4>Method # 2: Using the Power Off Utility:<\/h4>\n<p>Another way to reboot your system via GUI is the Poweroff utility. To open the Poweroff utility. Click the <strong>Activities<\/strong> button on the top left corner of your desktop or press the super key, then type <em>reboot<\/em> or <em>poweroff<\/em> in the search bar that appears. When the icon for poweroff utility appears, click it to open.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"283\" class=\"wp-image-2522\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-193.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-193.png 433w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-193-300x196.png 300w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/p>\n<p>It will open the following dialog. Click the <strong>Restart<\/strong> button in order to reboot your system. To cancel the restart, click <strong>Cancel<\/strong>. If you do not choose any option, the machine will automatically poweroff in 1 minute.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"205\" class=\"wp-image-2523\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-194.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-194.png 538w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-194-300x114.png 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/p>\n<p>In this post, we have discussed various methods to reboot a CentOS system which includes the keyboard shortcut, command line, and GUI based methods. Among the methods described above, you can use any method for rebooting your system.<\/p>\n<p>If you need help with rebooting a Ubuntu OS, visit our post on <a href=\"https:\/\/linuxways.net\/de\/ubuntu\/how-to-reboot-ubuntu-20-04-lts\/\">How to Reboot Ubuntu 20.04 LTS.<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction: Linux OS as compared to Windows OS usually does not require a reboot. Linux OS can run for a longer time without a reboot except for a&hellip;<\/p>","protected":false},"author":4,"featured_media":2564,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2518","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=2518"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2518\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/2564"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=2518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=2518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=2518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}