English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux sync command

Linux Command Manual

The Linux sync command is used for data synchronization, and the sync command is used when shutting down the Linux system.

Sometimes in Linux systems, in order to improve efficiency, data to be written to the hard disk is written to the filesystem buffer. This buffer is a memory space. If the data to be written to the hard disk is stored in this buffer and the system suddenly loses power, the data will be lost. The sync command will force the data stored in the buffer to be written to the hard disk.

Syntax

sync

Linux Command Manual