Linux笔记(八)

(1)关机:shutdown 
-h 关机
-r 重启
-c 取消前一个关机命令
例:shutdown -h now
shutdown -r 20:30
shutdown -c
(2)关机:halt,poweroff,init 0
(3)重启:reboot,init 6
(4)查看运行级别:runlevel
(5)退出登录:logout

原文地址:https://www.cnblogs.com/quanzhiguo/p/7157583.html