mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 15:42:31 +00:00
22 lines
388 B
Plaintext
22 lines
388 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# fadvise
|
|
|
|
> Control Linux file caching behavior.
|
|
> More information: <https://manned.org/fadvise>.
|
|
|
|
- Preload a file into cache:
|
|
|
|
`fadvise {{[-a|--advice]}} willneed {{path/to/file}}`
|
|
|
|
- Suggest dropping a file from cache:
|
|
|
|
`fadvise {{path/to/file}}`
|
|
|
|
- Display help:
|
|
|
|
`fadvise {{[-h|--help]}}`
|