Boot, reboot, and shut down a system normally

Reboot

# systemctl reboot       //rebooting now
# shutdown-r             //rebooting now
# shutdown -r +2        //rebooting in 2 minutes

Shutdown

# systemctl poweroff         //shutdown now
# shutdown -h
# shutdown -h now                    //shutdown now
# shutdown -h +5          //shutdown in 5 minutes

Comparison of Power Management Commands with systemctl

Old CommandNew CommandDescription
halt systemctl halt Halts the system.
poweroff systemctl poweroff Powers off the system.
reboot systemctl reboot Restarts the system.
pm-suspend systemctl suspend Suspends the system.
pm-hibernate systemctl hibernate Hibernates the system.
pm-suspend-hybrid systemctl hybrid-sleep Hibernates and suspends the system.

source: redhat

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *