Linux sync command
The Linux sync command is used for data synchronization. The sync command is used when shutting down the Linux system.
In the Linux system, data intended to be written to the hard disk is sometimes written to the filesystem buffer for efficiency. This buffer is a memory space. If data intended for the hard disk is stored in this buffer and the system suddenly loses power, the data will be lost. The sync command forces the data stored in the buffer to be written to the hard disk.
Syntax
syncOther Extensions
Linux Command Complete List