Files
cheatsheet-tldr/tldr/linux/fadvise
2025-03-26 00:18:43 +00:00

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]}}`