I’m not nearly as into Linux as everyone here. I just hobby manage docker containers for a home server. That was my first foray into Linux like 2 years ago. For whatever reason, this broke me for a few seconds lol
I think doing just a poweroff might leave some services in an unclean state. I think systemctl poweroff make sure the services are shutdown cleanly before powering down.
Just
poweroffis fine. Why lose extra 2.5 seconds typing two words when one word will suffice?What?
sync ; sync ; sync ; shutdown -h nowOr nothing!
why?
It’s traditional, it used to be done that way on old systems. It was done for extra luck I suppose.
Nowadays, shutdown syncs as a matter of fact, and filesystems are much less brittle.
The machine spirit gets upset if you don’t perform the correct shutdown rites. Praise the Omnissiah.
Gotta make sure the FS cache syncs.
Not too sure, hence the use of semicolons instead of double ampersands, but a moderately high level of sure.
Before Linux had a shutdown command, you’d run “sync && sync && sync” then hit the power button.
How long ago was that?? Like 30 years ago?
is that true? i guess it makes sense. you dont “shutdown” DOS
3 syncs? Sun Microsystems trainers told me 2!
Seems risky to me…
why use many word when few word do trick
few words do.
cat spk les yet.
Just alias whatever to “off”
I just pull the power cord and let it figure it out
I’m not nearly as into Linux as everyone here. I just hobby manage docker containers for a home server. That was my first foray into Linux like 2 years ago. For whatever reason, this broke me for a few seconds lol
I think doing just a
poweroffmight leave some services in an unclean state. I thinksystemctl poweroffmake sure the services are shutdown cleanly before powering down.poweroffis just an alias tosystemctl poweroffon distros with systemdUnless you’re running a non-systemd-distro, poweroff and systemctl poweroff are literally the same …