zoukankan      html  css  js  c++  java
  • Linux关机、重启命令

    关机
     
    shutdown -h 0 #<==O秒后关机
    shutdown -h now #<==现在关机
    shutdown -h 10 #<==10分钟后关机
    shutdown -h 23:20 #<==23:20分关机
    shutdown -c #<==取消shutdown关机命令
    init 0 #<==立马关机(切换运行级别为0,推荐使用)
    halt #<==立马关机
    poweroff #<==立马关机
     
     
    重启
     
    shutdown -r now #<==现在重启
    shutdown -r 10 #<==10分钟后重启
    shutdown -r 23:20 & #<==23:20分重启,加&符号代表把该命令转到后台处理
    reboot #<==立马重启(推荐使用)
    init 6 #<==立马重启(切换运行级别为6,推荐使用)
     
  • 相关阅读:
    规划
    学习规划
    续约
    每日一记
    每日记录
    《代码大全》第八章 防御式编程
    《代码大全》第七章
    平安夜
    每日一记
    培养良好的生活习惯
  • 原文地址:https://www.cnblogs.com/liang545621/p/9398652.html
Copyright © 2011-2022 走看看