1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-29 05:55:29 +02:00

fadvise: add page (#15365)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
Managor 2024-12-28 13:49:51 +02:00 committed by GitHub
parent 20d93fee1b
commit 86f0759fc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
pages/linux/fadvise.md Normal file
View file

@ -0,0 +1,16 @@
# 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`