shutdown,suspending,hibernating and halting RHEL7 /Centos7

Posted: 16 Sep 2019 in RHEL7
Tags: , , , ,

shutdown,suspending,hibernating and halting RHEL7 /Centos7.This tutorial is all about making things easier while restarting or power off your RHEL7 or CentOS 7 machines. I am writing this article only because i find so many people have so many questions from this small area.

Let’s discuss things which will make your daily life command related to shutdown and restart more easier.

I have tried my best to make this article to the point without any extra content inside this. so small concise and to the point and if you guys have any more commands related to this you can tell me through comment section.

How to shutdown RHEL7 Machine from command Line?

[root@localhost ~]# systemctl poweroff


How to halt the system in RHEL7/Centos7

[root@localhost ~]# systemctl halt


How to reboot the system in RHEL7/Centos7

[root@localhost ~]# systemctl reboot


How to power off the host at a specific time in RHEL7/Centos7

[root@localhost ~]# systemctl –poweroff 15:30


How to cancel the scheduled shutdown of the machine in RHEL7/Centos7

[root@localhost ~]# shutdown -c


How to suspend the host in RHEL7/Centos7

[root@localhost ~]# systemctl suspend


How to hibernate the host in RHEL7/Centos7

[root@localhost ~]# systemctl hibernate


How to do both hibernate and sleep the host in RHEL7/Centos7

[root@localhost ~]# systemctl hybrid-sleep


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.