mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 02:48:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -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
18
tldr/linux/bluetui
Normal 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]}}`
|
||||
@@ -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:
|
||||
|
||||
@@ -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
33
tldr/linux/koji-build
Normal 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`
|
||||
@@ -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:
|
||||
|
||||
29
tldr/linux/systemctl-set-property
Normal file
29
tldr/linux/systemctl-set-property
Normal 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= ...}}`
|
||||
Reference in New Issue
Block a user