www.bob.tw
×

shutdown / restart / reboot command for linux

shutdown / restart / reboot command for linux

Shutdown
#shutdown -h now
# shutdown -h +5 “Server is going down for upgrade. Please save your work.”

Restart
# shutdown -r +5 “Server will restart in 5 minutes. Please save your work.”

# shutdown -c

Reboot
#reboot