Update cheatsheets

This commit is contained in:
ivuorinen
2024-12-30 00:18:23 +00:00
parent 2f5c37424b
commit aa60befad7
7 changed files with 137 additions and 0 deletions

29
tldr/vmtouch Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# vmtouch
> Manage the filesystem cache.
> More information: <https://manned.org/vmtouch>.
- Print the cache status of a file:
`vmtouch {{path/to/file}}`
- Load a file into cache:
`vmtouch -t {{path/to/file}}`
- Evict a file from cache:
`vmtouch -e {{path/to/file}}`
- Lock a file in cache to prevent eviction from memory:
`vmtouch -l {{path/to/file}}`
- Lock a file and daemonize the program:
`vmtouch -ld {{path/to/file}}`