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