mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
17 lines
285 B
Markdown
17 lines
285 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`
|