mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-11-02 13:12:59 +08:00
* Create sync.md for Linux * Create sync.md * Update sync command documentation link * Delete pages/common/sync.md --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
418 B
418 B
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}}
- Flush writes and drop filesystem caches:
sync; echo 3 | sudo tee /proc/sys/vm/drop_caches