2018-11-14 19:15:14 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
category-title: Intermediate commands
|
|
|
|
category-page: intermediate
|
|
|
|
tags: sync disk write completion
|
|
|
|
author: Gianmarco De Vita
|
|
|
|
title: sync
|
|
|
|
previous-page: pages/cmd/interm/
|
|
|
|
next-page: pages/cmd/interm/
|
|
|
|
---
|
2018-11-14 21:15:38 +00:00
|
|
|
<p>
|
|
|
|
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.
|
|
|
|
</p>
|