Linux Comm Sync
# Linux sync command
[ Linux Command Reference](#)
The Linux sync command is used for data synchronization. The sync command is used when shutting down the Linux system.
In a 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 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 forces the data stored in the buffer to be written to the hard disk.
### Syntax
sync
[ Linux Command Reference](#)
YouTip