20 lines
535 B
HTML
20 lines
535 B
HTML
|
---
|
||
|
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/
|
||
|
---
|
||
|
<p>The <code>sync</code> utility force the completion of pending disk writes.</p>
|
||
|
|
||
|
<pre>
|
||
|
Device-name:Current-position username$ sync
|
||
|
</pre>
|
||
|
|
||
|
<p>This command can be used to verify that there are no pending disk writes,
|
||
|
so that all the operations are completed, before the processor is stopped by other
|
||
|
commands.</p>
|