Linux shutdown and restart command

Source: Internet
Author: User

Linux shutdown and restart command
Shutdown and restart command:
Shutdown [Option] Time
Option:
-C: cancel the previous shutdown command.
-H Shutdown
-R restart
Example:
Shutdown-r & (& indicates that the background is ready to be restarted at a specified time)
# Remote shutdown or restart
Shutdown-hnow shut down immediately
Other Shutdown (Insecure): (halt) (poweroff) (init 0)
Other restarts (reboot is relatively secure): (reboot) (init 6)
System running level (0 (shutdown)-6 (restart ))
1. Single User
2. Not all users, not including NSF services
3. Multiple users
4. unallocated
5. Start the graphic interface (the graphical interface is installed on the premise)
Runlevel
# Current level of the previous level
Log out:
Logout (it is best to execute logout remotely each time, otherwise it will affect the maximum number of connections)

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.