at 18.09-beta 1.1 kB view raw
1<chapter xmlns="http://docbook.org/ns/docbook" 2 xmlns:xlink="http://www.w3.org/1999/xlink" 3 xmlns:xi="http://www.w3.org/2001/XInclude" 4 version="5.0" 5 xml:id="sec-rebooting"> 6 <title>Rebooting and Shutting Down</title> 7 <para> 8 The system can be shut down (and automatically powered off) by doing: 9<screen> 10# shutdown 11</screen> 12 This is equivalent to running <command>systemctl poweroff</command>. 13 </para> 14 <para> 15 To reboot the system, run 16<screen> 17# reboot 18</screen> 19 which is equivalent to <command>systemctl reboot</command>. Alternatively, 20 you can quickly reboot the system using <literal>kexec</literal>, which 21 bypasses the BIOS by directly loading the new kernel into memory: 22<screen> 23# systemctl kexec 24</screen> 25 </para> 26 <para> 27 The machine can be suspended to RAM (if supported) using <command>systemctl 28 suspend</command>, and suspended to disk using <command>systemctl 29 hibernate</command>. 30 </para> 31 <para> 32 These commands can be run by any user who is logged in locally, i.e. on a 33 virtual console or in X11; otherwise, the user is asked for authentication. 34 </para> 35</chapter>