Linux Shutdown and restart __linux

Source: Internet
Author: User

This paper takes CentOS system as an example to explain. Reboot command: reboot: Reboot shutdown-r now: Reboot immediately (root user) Shutdown-r 10:10-minute automatic reboot (root user) Shutdown-r 20:35: In time 20 : 35 time Reboot (root user use)

 

If you set the reboot through the shutdown command, you can cancel the restart shutdown command by using the shutdown-c command: Halt: Shut down immediately poweroff: Shut down immediately shutdown-h now: Turn off the machine immediately (root user uses) Shutdown-h 10:10 minutes after automatic shutdown

If you are setting the shutdown via the shutdown command, you can cancel the reboot with the SHUTDOWN-C command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.