Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-08 00:19:07 +00:00
parent ba165f8d8e
commit 9dd7a2e5d6
15 changed files with 268 additions and 7 deletions

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# bluetoothctl
> Manage Bluetooth devices.
> See also: `bluetui`.
> More information: <https://manned.org/bluetoothctl>.
- Enter the `bluetoothctl` shell:

18
tldr/linux/bluetui Normal file
View File

@@ -0,0 +1,18 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# bluetui
> Manage Bluetooth devices with a terminal UI.
> See also: `bluetoothctl`.
> More information: <https://github.com/pythops/bluetui#-usage>.
- Start the program:
`bluetui`
- Display help:
`bluetui {{[-h|--help]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# iw
> Show and manipulate wireless devices.
> See also: `iw dev`.
> See also: `iw dev`, `nmcli`, `iwctl`.
> More information: <https://wireless.docs.kernel.org/en/latest/en/users/documentation/iw.html>.
- Scan for available wireless networks:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# iwctl
> Control the `iwd` network supplicant.
> See also: `nmcli`, `iw`.
> More information: <https://manned.org/iwctl>.
- Run `iwctl` in interactive mode:

33
tldr/linux/koji-build Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# koji build
> Build an RPM package.
> More information: <https://docs.pagure.org/koji>.
- Build a package from `src.rpm`:
`koji build {{target}} {{path/to/src.rpm}}`
- Build a package from a SCM (Source Code Management) URL:
`koji build {{target}} {{git+https://src.fedoraproject.org/rpms/vim.git#e847a50297a216229050bf4db3d06a139104e7cf}}`
- Perform a scratch build:
`koji build {{target}} {{path/to/src.rpm}} --scratch`
- Wait on the build, even if it's running in the background:
`koji build {{target}} {{path/to/src.rpm}} --wait`
- Don't wait on build:
`koji build {{target}} {{path/to/src.rpm}} --nowait`
- Display help:
`koji build --help`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# nmcli
> Manage the network configuration using NetworkManager.
> See also: `nmtui`.
> See also: `nmtui`, `iw`, `iwctl`.
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
- View documentation for managing network interfaces and establishing new Wi-Fi connections:

View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl set-property
> Set the specified unit properties at runtime.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#set-property%20UNIT%20PROPERTY=VALUE%E2%80%A6>.
- Set a property for a running service:
`systemctl set-property {{unit}} {{property}}={{value}}`
- Set multiple properties at once:
`systemctl set-property {{unit}} {{property_1=value_1 property_2=value_2 ...}}`
- Set a property only for the current runtime session (not persistent):
`systemctl set-property {{unit}} {{property}}={{value}} --runtime`
- Reset a property to its default value:
`systemctl set-property {{unit}} {{property}}=`
- Reset multiple properties to its default values:
`systemctl set-property {{unit}} {{property_1= property_2= ...}}`