Linux

sync

SafeFlush write buffers

sync

Flushes pending writes to disk — before yanking USB media, after big dd jobs, before hard resets.

Examples

  • sync && echo doneWait for the flush to finish

Syntax

sync [file]

Before you run it

Flush only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store