Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-24 00:19:30 +00:00
parent 19fae7249d
commit eca9d9488d
5 changed files with 57 additions and 6 deletions

View File

@@ -6,11 +6,12 @@ source: https://github.com/tldr-pages/tldr.git
# fadvise
> Control Linux file caching behavior.
> See also: `fincore`.
> More information: <https://manned.org/fadvise>.
- Preload a file into cache:
- Preload a file or directory into cache:
`fadvise {{[-a|--advice]}} willneeded {{path/to/file}}`
`fadvise {{[-a|--advice]}} willneeded {{path/to/file_or_directory}}`
- Suggest dropping a file from cache:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# fincore
> Display how much cache memory a file is taking.
> See also: `fadvise`.
> More information: <https://manned.org/fincore>.
- Display cache details for a file:

View File

@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
- Open a dialog containing a specific dropdown menu and print the selected item to `stdout`:
`kdialog --combobx "{{message}}" "{{item1}}" "{{item2}}" "{{...}}"`
`kdialog --combobox "{{message}}" "{{item1}}" "{{item2}}" "{{...}}"`
- Open a file chooser dialog and print the selected file's path to `stdout`: