How to know the network name
Karl Auer
kauer at biplane.com.au
Sun Oct 24 07:24:05 UTC 2021
On Sun, 2021-10-24 at 07:57 +0200, Ralf Mardorf via ubuntu-users wrote:
> On Sun, 24 Oct 2021 10:28:32 +1100, Karl Auer wrote:
> > echo "reboot" | at now + 10 minutes
>
> assuming all maintenance is done as user root, better run the
> shutdown command:
Why? The modern "reboot" command *is* shutdown. Or rather, they are
both systemctl:
kauer at kt1:~$ which reboot
/usr/sbin/reboot
kauer at kt1:~$ ls -la /usr/sbin/reboot
lrwxrwxrwx 1 root root 14 Sep 8 04:37 /usr/sbin/reboot ->
/bin/systemctl
kauer at kt1:~$ ls -la /usr/sbin/shutdown
lrwxrwxrwx 1 root root 14 Sep 8 04:37 /usr/sbin/shutdown ->
/bin/systemctl
And BTW that looks exactly the same on Centos8. Might be different on
earlier versions, I suppose.
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
GPG fingerprint: 61A0 99A9 8823 3A75 871E 5D90 BADB B237 260C 9C58
Old fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170
More information about the ubuntu-users
mailing list