Linux Shutdown/restart/logoff commands

Source: Internet
Author: User

    • Shutdown

Shutdown-h 0 #<==o seconds after shutdown shutdown-h now #<== shut down Shutdown-h ten #<==10 minutes after shutdown shutdown-h 23:20 #< ==23:20 shutdown-c #<== cancel shutdown shutdown Command init 0 #<== shutdown immediately (switch run level 0, recommended) Halt #< = = Turn off the machine immediately poweroff #<== turn off the machine immediately
    • Restart

Shutdown-r now #<== restart Shutdown-r 23:20 & #<==23:20, plus & symbol to move the command to Background processing reboot #<== to restart immediately (recommended) Init 6 #<== Restart immediately (switch runlevel to 6, recommended)
    • Cancellation

Logout #<== immediately logout exit #<== immediately logout in SecureCRT software, press the shortcut key: Ctrl + D #<== recommended use


This article is from the "Chen was 007" blog, please be sure to keep this source http://chenfage.blog.51cto.com/8804946/1829193

Linux Shutdown/restart/logoff commands

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.