2018-11-14 19:15:14 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
category-page: intermediate
|
2018-11-16 12:47:48 +00:00
|
|
|
category-title: Intermediate commands
|
2018-11-14 19:15:14 +00:00
|
|
|
tags: sync disk write completion
|
|
|
|
author: Gianmarco De Vita
|
|
|
|
title: sync
|
|
|
|
previous-page: pages/cmd/interm/
|
|
|
|
next-page: pages/cmd/interm/
|
|
|
|
---
|
2018-11-16 12:47:48 +00:00
|
|
|
|
2018-11-14 21:15:38 +00:00
|
|
|
The <code>sync</code> utility force the completion of pending disk writes.</p>
|
2018-11-14 19:15:14 +00:00
|
|
|
|
|
|
|
<pre>
|
2018-11-14 21:15:38 +00:00
|
|
|
sync
|
2018-11-14 19:15:14 +00:00
|
|
|
</pre>
|
|
|
|
|
2018-11-14 21:15:38 +00:00
|
|
|
This command can be used to verify that there are no pending disk writes,
|
2018-11-14 19:15:14 +00:00
|
|
|
so that all the operations are completed, before the processor is stopped by other
|
2018-11-14 21:15:38 +00:00
|
|
|
commands.
|