Tag: OS reboot

What is the difference between “systemctl reboot” and “reboot” and “systemctl poweroff” and “poweroff”

What's the difference between sudo systemctl reboot And sudo reboot Is it true that the use of commands depends on the operating system, and that one will execute a shorthand version, the other will use systemctl? Answer: The halt, poweroff, reboot commands are implemented to maintain basic compatibility with the original SysV commands. Verbs systemctl halt systemctl poweroff systemctl reboot...

Do services need to be restarted when updating packages

Package configuration: whether to restart the service During the installation of package updates and their configuration, the apt program may ask you to restart the service: There are services installed on your system which need to be restarted when certain libraries, such as libpam, libc, and libssl, are upgraded. Since these restarts may cause interruptions of service for the system,...

Error “Failed to talk to init daemon” (SOLVED)

You can use command line to shutdown Linux computer, following command will shutdown computer: shutdown -h now systemctl halt To reboot, you can use the following command: systemctl restart They usually work fine, but on some distributions they require elevated privileges, which means they need to be run with sudo. But in single user mode, these commands result in the...
Loading...
X