1
0
Fork 0
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:
Fazle Arefin 2025-06-12 11:31:20 +10:00 committed by GitHub
parent 4c92c560b0
commit c1e7809b63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`