常用的linux关机命令有哪几种
经常使用的linux关机命令有哪几种
经常使用的Linux关机命令有:
1. poweroff:立即关机。
2. halt:立即关机。
3. shutdown:安全关机,可以指定延迟时间。
4. init 0:立即关机。
5. init 6:重启系统。
6. systemctl poweroff:立即关机。
7. systemctl halt:立即关机。
8. systemctl reboot:重启系统。
9. shutdown -h now:立即关机。
10. shutdown -r now:重启系统。
这些命令通常需要以超级用户(root)身份运行。
文章来源:丸子建站
文章标题:常用的linux关机命令有哪几种
https://www.wanzijz.com/view/84242.html