tldr/pages/common/sync.md

13 lines
322 B
Markdown

# sync
> Flushes all pending write operations to the appropriate disks.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/sync-invocation.html>.
- Flush all pending write operations on all disks:
`sync`
- Flush all pending write operations on a single file to disk:
`sync {{path/to/file}}`