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 上的服务对于服务器来说关机速度会慢一点,但是理友好!

  • 相关阅读:
    仓储模式Repository
    jwt测试
    net core webapi jwt
    net core发布到iis遇到的困难
    新的目标
    L9-2.安装mysql数据库
    L9-1-安装Apache
    L8_2
    Linux 08
    Linux 07 故障恢复
  • 原文地址:https://www.cnblogs.com/JiangLe/p/4156955.html
Copyright © 2011-2022 走看看