Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-02 00:19:39 +00:00
parent 2b9882f70a
commit 22a84b91e2
42 changed files with 123 additions and 81 deletions

View File

@@ -6,15 +6,23 @@ source: https://github.com/tldr-pages/tldr.git
# checkupdates
> Check pending updates in Arch Linux.
> More information: <https://manned.org/checkupdates.8>.
> More information: <https://manned.org/checkupdates>.
- List pending updates:
- Synchronize the database and list pending updates:
`checkupdates`
- List pending updates and download the packages to the `pacman` cache:
- List pending updates without syncing the database:
`checkupdates --download`
`checkupdates {{[-n|--nosync]}}`
- Display the list of pending updates if it differs from the last time this option was used:
`checkupdates {{[-c|--change]}}`
- List pending updates and download the packages to the `pacman` cache (`/var/cache/pacman/pkg`):
`checkupdates {{[-d|--download]}}`
- List pending updates using a specific `pacman` database:
@@ -22,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help:
`checkupdates --help`
`checkupdates {{[-h|--help]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# iwctl
> Control the `iwd` network supplicant.
> More information: <https://archive.kernel.org/oldwiki/iwd.wiki.kernel.org/gettingstarted.html>.
> More information: <https://manned.org/iwctl>.
- Start the interactive mode, in this mode you can enter the commands directly, with autocompletion:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Call general help:
`iwctl --help`
`iwctl {{[-h|--help]}}`
- Display your Wi-Fi stations:

17
tldr/linux/locale-gen Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# locale-gen
> Generate locales defined in `/etc/locale.gen`.
> More information: <https://manned.org/locale-gen>.
- Generate locales:
`locale-gen`
- Do not delete undefined locales:
`locale-gen --keep-existing`

17
tldr/linux/localedef Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# localedef
> Manage locale definition files.
> More information: <https://manned.org/localedef>.
- List compiled locales:
`localedef --list-archive`
- Display help:
`localedef {{[-?|--help]}}`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Mount a device to a directory:
`mount {{[-t|--types]}} {{filesystem_type}} {{path/to/device_file}} {{path/to/target_directory}}`
`mount {{path/to/device_file}} {{path/to/target_directory}}`
- Create a specific directory if it does not exist and mount a device to it:
@@ -28,7 +28,7 @@ source: https://github.com/tldr-pages/tldr.git
`mount {{[-t|--types]}} {{iso9660}} {{[-o|--options]}} ro {{/dev/cdrom}} {{/cdrom}}`
- Mount all the filesystem defined in `/etc/fstab`:
- Mount all the filesystems defined in `/etc/fstab`:
`mount {{[-a|--all]}}`