mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 09:58:35 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,3 +15,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- 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`
|
||||
|
||||
Reference in New Issue
Block a user