GNU/Linux Command – SYNC

sync — Flush File System Buffers.

Summary:

The Linux Kernel keeps data in memory to avoid doing (relatively slow) disk reads and writes. This improves performance, but if the system crashes, data in memory may be lost or the file system corrupted as a result. sync used to Synchronize data on disk with memory. sync writes any data buffered in memory out to disk.

Examples:

$ sync — Write buffered data to disk.

Read: man sync

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: