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
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