linux命令之——关机重启命令

shutdown命令

shutdown [选项] 时间

-c:取消前一个关机命令

-h:关机

-r:重启

shutdown -r now 是立即重启

shutdown -h now 是立即关机

其他关机命令 (不太安全 不建议使用  )

halt  

poweroff

其他重启命名

reboot  (安全)

runlevel

查询系统运行级别

退出登录命令

logout

猜你喜欢

转载自blog.csdn.net/yongbutingxide/article/details/82227764