sync

sync

Purpose

Write buffers to disk.

Syntax

sync

Options

None

Description

When you cannot shut down your Linux system in an orderly manner (for example, when you cannot execute , , or commands), you should type sync before switching off the computer.