shutdown,suspending,hibernating and halting RHEL7 /Centos7

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


Discover more from Learn Linux CCNA CCNP CEH CISSP CISA Penetration-Testing Bug Bounty IPv6 Cyber-Security Network-Security Online

Subscribe to get the latest posts sent to your email.

Leave a comment

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