Systemd: how to get into rescue mode

Little Girl littlergirl at gmail.com
Sat Jan 11 00:49:09 UTC 2020


Hey there,

Ralf Mardorf via ubuntu-users wrote:
>On Fri, 10 Jan 2020 17:19:26 -0500, Little Girl wrote:

>>Better yet, you can avoid the translation altogether by using
>>systemctl reboot to reboot the computer  

>OTOH we could and IMO should use
>
>https://packages.ubuntu.com/bionic/amd64/systemd-sysv/filelist
>
>shutdown -r now
>
>to reboot right "now" or at a specified time on probably all Linux
>and BSD.
>
>AFAIK "shutdown" doesn't belong to the Portable Operating System
>Interface standard, but it's anyway a portable command.
>
>IMO we shouldn't lose too much portability.

That command will work from an ordinary terminal (although I prefer
the Alt + Shift + SysRq REISUO method so that everything is nice and
neat and there are no loose ends).

The ones above, however, are for use from within a Systemd target.

-- 
Little Girl

There is no spoon.




More information about the ubuntu-users mailing list