mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-23 01:24:03 +02:00
sync: add examples (#16822)
This commit is contained in:
parent
4c92c560b0
commit
c1e7809b63
1 changed files with 8 additions and 0 deletions
|
@ -10,3 +10,11 @@
|
|||
- Flush all pending write operations on a single file to disk:
|
||||
|
||||
`sync {{path/to/file}}`
|
||||
|
||||
- Flush writes and drop file system caches (Linux only):
|
||||
|
||||
`sync; echo 3 | sudo tee /proc/sys/vm/drop_caches`
|
||||
|
||||
- Flush disk writes and attempts to clear inactive memory and filesystem caches (macOS only):
|
||||
|
||||
`sync; sudo purge`
|
||||
|
|
Loading…
Add table
Reference in a new issue