zoukankan      html  css  js  c++  java
  • 正确的关机方法

    一、查看系统的使用状态:

          who——看目前有谁在线

          netstat -a ——看网络的联机状态

          ps -aux ——看后台执行的程序

    二、数据同步写入磁盘:——sync

    三、惯用的关机命令:

          shutdown -h now ——立刻关机

          shutdown -h 20:25——系统在今天的20:25分关机

          shutdown -h +10——系统再过10分钟后自动关机

          shutdown -r now——系统立刻重启

          shutdown -r +30 'the system will reboot'——再过30分钟系统重启

          shutdown -k now 'this system will reboot'——仅发出警告信件的参数,系统不关机。
    四、重启,关机:

          reboot,halt,poweroff

    五、切换执行等级:init

          run level 0: 关机

          run level 3: 纯命令行模式

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

          run level 6: 重启

          也可使用如下命令来关机: init 0

  • 相关阅读:
    python3-day6(模块)
    python3-day5(模块)
    python3-day4(re正则表达式,冒泡)
    python3-day4(递归)
    python3-day4(装饰器)
    python3-day3(内置函数)
    python3-day3(函数-参数)
    python3-day3(函数-返回值)
    android 开发学习3
    android 开发学习2
  • 原文地址:https://www.cnblogs.com/jiangjh/p/2095902.html
Copyright © 2011-2022 走看看