Detailed explanation and practice of centos shutdown and restart commands

Source: Internet
Author: User
Centos restart command: 1, reboot2, shutdown-rnow immediately restart (root user use) 3, shutdown-r10 after 10 minutes automatic restart (root user use) 4, shutdown-r20: 35 restart

Centos restart command:

  • 1. reboot

  • 2. shutdown-r now restarts immediately (used by the root user)

  • 3. shutdown-r restarts automatically after 10 minutes (used by root users)

  • 4. shutdown-r restart at (for root users)

If you use the shutdown command to set the restart, you can use the shutdown-c command to cancel the restart.

Linux centos shutdown command:

  • 1. shut down halt immediately

  • 2. power off immediately

  • 3. shutdown-h now shut down immediately (used by the root user)

  • 4. shutdown-h: shutdown automatically 10 minutes later

If you use the shutdown command to set shutdown, you can use the shutdown-c command to cancel the restart.

 
Related Article

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.