1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-20 08:15:42 +02:00
tldr/pages/linux/fadvise.md
2025-03-07 13:48:24 +02:00

16 lines
287 B
Markdown

# 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 --help`