1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/linux/reboot.md
Ziqiang Wu 2e78c67026
glances, hostname, w, iptables, lsblk, reboot, date, at, poweroff, open: update outdated Chinese pages (#16047)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-04-12 10:49:41 +03:00

437 B

reboot

重新启动系统。 更多信息:https://manned.org/reboot.8.

  • 重启系统:

reboot

  • 关闭系统(等同于 poweroff):

reboot {{[-p|--poweroff]}}

  • 停止系统(终止所有进程并关闭 CPU,等同于 halt):

reboot --halt

  • 立即重启,而无需正常关闭:

reboot {{[-f|--force]}}

  • 仅写入 wtmp 关机日志条目而不重启系统:

reboot {{[-w|--wtmp-only]}}