sync
Flush 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
- Flush writes and drop filesystem caches:
sync; echo 3 | sudo tee /proc/sys/vm/drop_caches
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
