mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 14:02:44 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/linux/fadvise
Normal file
21
tldr/linux/fadvise
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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 --help`
|
||||
Reference in New Issue
Block a user