sync — stdin stdout - file -- opt --help --version
sync
The sync
command flushes
all disk caches to disk. The kernel usually buffers reads, writes,
inode changes, and other disk-related activity in memory. sync
writes the changes to disk. Normally,
you don’t need to run this command, but if (say) you’re about to do
something risky that might crash your machine, running sync
immediately beforehand can’t
hurt.
18.118.102.225