[Linux] like League of Legends shutdown

Source: Internet
Author: User

I believe you all know that the shutdown,linux in LOL in the shutdown and LOL in the shutdown can be very different. Shutdown not only can safely shut down the operating system, but also covers the timing and restart, timing can be a time period, can also be accurate a time, the exact time format is hh:mm, representing time and minutes; the time period is represented by a plus and a minute. Data synchronization is done automatically when the command is completed.

Shutdown:

Shutdown-h now or init 0 or Telinit 0

The first line is executed by the direct shutdown, where now is a special usage (equivalent to 0) and cannot be omitted .

Timer shutdown:

Shutdown-h Hours:minutes &

If you want to continue to execute the command, do not miss the &, if you want to cancel the timer shutdown:

Shutdown-c

If you do not run other commands, direct:

Shutdown-h hours:minutes

Restart:

Shutdown-r Now or reboot
Or
Init 6

Note: Now, like Shutdown-h now, the first row is not to be omitted.

Summarize:

shutdown [options] [TIME] [WARNING]

Options:

-K warns the user of the message but does not perform a shutdown

-R Restart the computer

-H shutdown and power off completely

-F Fast Shutdown and skip fsck at restart

- F (uppercase) when rebooting, you must do fsck

-N Fast shutdown without init

-C Cancel Timer shutdown

-t< seconds > Delay between warning and deletion

[Linux] like League of Legends shutdown

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.