Linux中关机,重启,注销命令
关机:
shutdown -h now #立刻关机重启,工作中常用
shutdown -h +1 #1分钟后关机
init 0
halt #立即停止系统,需要人工关闭电源
halt -p #
poweroff #立即停止系统,并且关闭电源
重启:
reboot #工作中常用
shutdown -r now #工作中常用
shutdown -r +1 #一分钟后重启
init 6
注销:
logout
exit #工作中常用
ctrl+d #工作中常用
原文地址:https://www.cnblogs.com/ZGreMount/p/7668749.html
我驰骋天下,守你盛世繁华
浙公网安备 33010602011771号