Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-04 00:26:41 +00:00
parent 96131996f2
commit bbaedbaa72
9 changed files with 156 additions and 9 deletions

View File

@@ -17,21 +17,21 @@ source: https://github.com/tldr-pages/tldr.git
`sudo loadkeys {{[-d|--default]}}`
- Create a kernel source table:
- Print the kernel source table of a keymap to `stdout`:
`loadkeys {{[-m|--mktable]}}`
`loadkeys {{[-m|--mktable]}} {{en|de|fi|...}}`
- Create a binary keymap:
- Print the binary format of a keymap to `stdout`:
`loadkeys {{[-b|--bkeymap]}}`
`loadkeys {{[-b|--bkeymap]}} {{en|de|fi|...}}`
- Search and parse keymap without action:
`loadkeys {{[-p|--parse]}}`
`loadkeys {{[-p|--parse]}} {{en|de|fi|...}}`
- Load the keymap suppressing all output:
- Load a keymap from `stdin`, suppressing all output:
`loadkeys {{[-q|--quiet]}}`
`{{command}} | sudo loadkeys {{[-q|--quiet]}}`
- Set a keymap for a specific console:
@@ -39,4 +39,4 @@ source: https://github.com/tldr-pages/tldr.git
- Load a keymap from the specified file for the console:
`loadkeys {{[-C|--console]}} {{/dev/ttyN}} /{{path/to/file}}`
`sudo loadkeys {{[-C|--console]}} {{/dev/ttyN}} /{{path/to/file}}`

41
tldr/linux/lure Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# lure
> A distro-agnostic build system and user repository for Linux.
> More information: <https://github.com/lure-sh/lure/blob/master/docs/usage.md>.
- Install a package:
`lure {{[in|install]}} {{package}}`
- Remove a package:
`lure {{[rm|remove]}} {{package}}`
- Update packages:
`lure {{[up|upgrade]}}`
- List all available packages:
`lure {{[ls|list]}}`
- Pull all repositories that have changed:
`lure {{[ref|refresh]}}`
- Add a new repository:
`lure {{[ar|addrepo]}} {{[-n|--name]}} {{repository_name}} --url {{repository_url}}`
- Remove an existing repository:
`lure {{[rr|removerepo]}} {{[-n|--name]}} {{repository_name}}`
- Build a package:
`lure build -s {{path/to/script}}`

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mount
> Get access to an entire filesystem in one directory.
> See also: `udisksctl`.
> More information: <https://manned.org/mount.8>.
- Show all mounted filesystems:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# udisksctl
> Interact with `udisksd` to query and manipulate storage devices.
> See also: `mount`.
> More information: <https://storaged.org/doc/udisks2-api/latest/udisksctl.1.html>.
- Show high-level information about disk drives and block devices: