zoukankan      html  css  js  c++  java
  • Linux 关机

    1、

      shutdown

      shutdown -h now                   立刻关机

      shutdown -h 22:50                  22:50 分的时候关机

      shutdown -h +10                   10分钟后关机

      shutdwon -r now                    系统马上重启

      shutdwon -r +30                    系统30分钟后重启

      shutdwn -k now 'this system will reboot'                    不关机只是发出警告信息

    2、

      poweroff -f                      强制关机

    3、

      init 0                         关机

      init 3                           纯命令行模式

      init 5                         图形界面模式

      init 6                           重启

    ---------------------------------------------------------------------------------------------------------------------------

    shutdown 会依次关闭 linux 上的服务对于服务器来说关机速度会慢一点,但是理友好!

  • 相关阅读:
    645. Set Mismatch
    400. Nth Digit
    633. Sum of Square Numbers
    507. Perfect Number
    453. Minimum Moves to Equal Array Elements
    441. Arranging Coins
    Girls and Boys
    二分图
    Gap
    SZU-A22
  • 原文地址:https://www.cnblogs.com/JiangLe/p/4156955.html
Copyright © 2011-2022 走看看