8.1. 关闭系统

关闭一个运行着的 Debian GNU/Linux 系统,不要使用计算机前面或后面的 reset 开关重启,或者直接关闭计算机。Debian GNU/Linux 应该使用可控的过程关闭,否则会造成文件丢失或/和磁盘损坏。假如您运行了桌面环境,通常会有一个 log out 选项位于应用程序菜单让您关闭(或者重启)系统。

Alternatively you can press the key combination Ctrl+Alt+Del . If the key combinations do not work, a last option is to log in as root and type the necessary commands. Use reboot to reboot the system. Use halt to halt the system without powering it off [14]. To power off the machine, use poweroff or shutdown -h now. The systemd init system provides additional commands that perform the same functions; for example systemctl reboot or systemctl poweroff.



[14] Under the SysV init system halt had the same effect as poweroff, but with systemd as init system (the default since jessie) their effects are different.