zoukankan      html  css  js  c++  java
  • linux开关机命令

    将数据同步写入硬盘:sync

    惯用的关机命令:shutdown

      shutdown -h now   

      立刻关机,now相当于时间为0

      shutdown -h 10  ' I wil shutdown after 10 mins'

      告诉大家这台机器要在十分钟后关机,并且显示在登录者屏幕前方;

      shutdown -r now

      系统立刻重启

      shutdown   -r  30  ' the system will reboot after 30 mins'

      shutdown  -h  20:25

      系统在今天的20:25分关机,若在21:25才执行此命令,则隔天才关机

      shutdown   -k   now   'this system will reboot'

      仅发出警告信息的参数,系统并不会关机;

    重启、关机

      reboot

      halt

      poweroff

    系统运行级别

      run level 0:关机

      run level 3 :纯命令行模式

      run level 5 :含有图形界面模式

      run level 6: 重启

  • 相关阅读:
    SSM框架整合步骤
    Spring-data-jpa
    allure定制报告
    pytest常用选项
    staticmethod&classmethod&property
    __slot__
    python的参数传递
    闭包和装饰器
    内置高阶函数
    str
  • 原文地址:https://www.cnblogs.com/me80/p/7384922.html
Copyright © 2011-2022 走看看