telinit(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXIT STATUS | NOTES | SEE ALSO | COLOPHON

TELINIT(8)                       telinit                      TELINIT(8)

NAME         top

       telinit - Change SysV runlevel

SYNOPSIS         top


       telinit [OPTIONS...] {COMMAND}

DESCRIPTION         top

       telinit may be used to change the SysV system runlevel. Since the
       concept of SysV runlevels is obsolete the runlevel requests will
       be transparently translated into systemd unit activation
       requests.

OPTIONS         top

       The following options are understood:

       --help
           Print a short help text and exit.

       --no-wall
           Do not send wall message before reboot/halt/power-off.

       The following commands are understood:

       0
           Power-off the machine. This is translated into an activation
           request for poweroff.target and is equivalent to systemctl
           poweroff.

       6
           Reboot the machine. This is translated into an activation
           request for reboot.target and is equivalent to systemctl
           reboot.

       2, 3, 4, 5
           Change the SysV runlevel. This is translated into an
           activation request for runlevel2.target, runlevel3.target,
           ... and is equivalent to systemctl isolate runlevel2.target,
           systemctl isolate runlevel3.target, ...

       1, s, S
           Change into system rescue mode. This is translated into an
           activation request for rescue.target and is equivalent to
           systemctl rescue.

       q, Q
           Reload daemon configuration. This is equivalent to systemctl
           daemon-reload.

       u, U
           Serialize state, reexecute daemon and deserialize state
           again. This is equivalent to systemctl daemon-reexec.

EXIT STATUS         top

       On success, 0 is returned, a non-zero failure code otherwise.

NOTES         top

       This is a legacy command available for compatibility only. It
       should not be used anymore, as the concept of runlevels is
       obsolete.

SEE ALSO         top

       systemd(1), systemctl(1), wall(1)

COLOPHON         top

       This page is part of the systemd (systemd system and service
       manager) project.  Information about the project can be found at
       ⟨http://www.freedesktop.org/wiki/Software/systemd⟩.  If you have
       a bug report for this manual page, see
       ⟨http://www.freedesktop.org/wiki/Software/systemd/#bugreports⟩.
       This page was obtained from the project's upstream Git repository
       ⟨https://github.com/systemd/systemd.git⟩ on 2023-12-22.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2023-12-22.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

systemd 255                                                   TELINIT(8)

Pages that refer to this page: systemd(1)systemd.directives(7)systemd.index(7)