cannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 3 hours agoSeriously, every time I gotta be out the door. Just let me shut you down.lemmy.worldimagemessage-square44fedilinkarrow-up1155arrow-down11
arrow-up1154arrow-down1imageSeriously, every time I gotta be out the door. Just let me shut you down.lemmy.worldcannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 3 hours agomessage-square44fedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up8·3 hours agoJust poweroff is fine. Why lose extra 2.5 seconds typing two words when one word will suffice?
minus-squareShinkanTrain@lemmy.mllinkfedilinkEnglisharrow-up1·7 minutes agowhy use many word when few word do trick
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up12·edit-23 hours agoWhat? sync ; sync ; sync ; shutdown -h now Or nothing!
minus-squareHorseChandelier@lemmy.worldlinkfedilinkEnglisharrow-up2·2 hours ago3 syncs? Sun Microsystems trainers told me 2!
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up7·2 hours agoIt’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.
minus-squareBartyDeCanter@piefed.sociallinkfedilinkEnglisharrow-up2·1 hour agoBefore Linux had a shutdown command, you’d run “sync && sync && sync” then hit the power button.
minus-squareSonotsugipaa@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up4·2 hours agoGotta 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.
minus-squaredotslashme@infosec.publinkfedilinkEnglisharrow-up1·2 hours agoI 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?why use many word when few word do trick
What?
sync ; sync ; sync ; shutdown -h nowOr nothing!
3 syncs? Sun Microsystems trainers told me 2!
Seems risky to me…
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.
Before Linux had a shutdown command, you’d run “sync && sync && sync” then hit the power button.
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.
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.Just alias whatever to “off”