1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 00:42:08 +02:00
tldr/pages/linux/fadvise.md
Managor 86f0759fc9
fadvise: add page (#15365)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2024-12-28 12:49:51 +01:00

285 B

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