Tuesday, January 17, 2017

Booting Linux Servers

systemd => initiates the reboot of RHEL/CentOS

Reboot Syntax:

#systemctl reboot

#shutdown –r now -> reboots immediately
# shutdown –r +5 ->                reboots after five minutes from issuing
# shutdown –c ->                     cancels the scheduled reboot


Power off Syntax:

#systemctl halt
#halt
#shutdown –h +5 -> will shut down in 5 minutes
#shutdown –c -> will cancel shutdown
#shutdown –h now -> shutdown immediately
#shutdown –P -> power off
#init 0

No comments:

Post a Comment