Step 1/1: Flush data to disk

For speed, written data waits in memory before reaching the disk. sync writes it out now. Run it before unplugging a USB stick or cutting the power.

$ sync
Beginnersync
Make sure it is on disk
Write "Everything is a file." to save.dat, then run sync to flush cached data to disk (do this before unplugging a USB stick or powering off).
sysctlNext lesson:export