Linux shutdown command

Source: Internet
Author: User
The correct shutdown process is:sysnc–> Shutdown/reboot/halt/poweroff

The SYSNC synchronizes the data from memory to the hard disk.

Shutdown shutdown instructions. For example, you can run the following command to shut down:

Shutdown–h ' This server would shutdown after ten mins ' This command tells you that the computer will shut down in 10 minutes and will be displayed in the current screen of the logged-on user.

Shutdown–h now immediately shuts down the machine

Shutdown–h 20:25 The system will shut down at 20:25 today.

Shutdown–h +10 10 minutes after shutdown

Shutdown–r now system restarts immediately

Shutdown–r +10 system restarts after 10 minutes

Reboot is a reboot, equivalent to Shutdown–r now

Halt shutdown system, equivalent to Shutdown–h now and Poweroff

The shutdown commands are:

Shutdown–h now

Poweroff

Halt

Init 0

The Restart commands are:

Shutdown–r now

Reboot

Init 6

Linux shutdown 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.