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