mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 01:41:42 +00:00
18 lines
382 B
Plaintext
18 lines
382 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# sync
|
|
|
|
> Flushes all pending write operations to the appropriate disks.
|
|
> More information: <https://www.gnu.org/software/coreutils/sync>.
|
|
|
|
- Flush all pending write operations on all disks:
|
|
|
|
`sync`
|
|
|
|
- Flush all pending write operations on a single file to disk:
|
|
|
|
`sync {{path/to/file}}`
|