you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 2 months ago* (9 children)

What?

sync ; sync ; sync ; shutdown -h now

Or nothing!

  • source
  • parent
  • hideshow 9 child comments
  • [–] 5 points 2 months ago (6 children)
  • [–] 10 points 2 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 2 months ago (2 children)

    Before Linux had a shutdown command, you’d run β€œsync && sync && sync” then hit the power button.

  • source
  • parent
  • hideshow 2 child comments