Write buffers to disk.
sync
None
When you cannot shut down your Linux system in an orderly manner (for example, when you cannot execute shutdown, halt, or reboot commands), you should type sync before switching off the computer.