mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 20:51:06 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Play the first 10 seconds of a specific file at 2500 Hz:
|
||||
|
||||
`aplay --duration={{10}} --rate={{2500}} {{path/to/file}}`
|
||||
`aplay {{[-d|--duration]}} {{10}} {{[-r|--rate]}} {{2500}} {{path/to/file}}`
|
||||
|
||||
- Play the raw file as a 22050 Hz, mono, 8-bit, Mu-Law `.au` file:
|
||||
|
||||
`aplay --channels={{1}} --file-type {{raw}} --rate={{22050}} --format={{mu_law}} {{path/to/file}}`
|
||||
`aplay {{[-c|--channels]}} {{1}} {{[-t|--file-type]}} {{raw}} {{[-r|--rate]}} {{22050}} {{[-f|--format]}} {{mu_law}} {{path/to/file}}`
|
||||
|
||||
@@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# checkinstall
|
||||
|
||||
> Track the local installation of a software package, and produce a binary package which can be used with a system's native package manager.
|
||||
> More information: <https://checkinstall.izto.org>.
|
||||
> More information: <https://checkinstall.izto.org/docs.php>.
|
||||
|
||||
- Create and install a package with default settings:
|
||||
|
||||
`sudo checkinstall --default`
|
||||
`sudo checkinstall {{[-y|--default]}}`
|
||||
|
||||
- Create a package but don't install it:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all video devices:
|
||||
|
||||
`v4l2-ctl --list-devices`
|
||||
`v4l2-ctl {{[-A|--list-devices]}}`
|
||||
|
||||
- List supported video formats and resolutions of default video device `/dev/video0`:
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# wireplumber
|
||||
|
||||
> A modular session/policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire’s API.
|
||||
> A modular session/policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire's API.
|
||||
> See also: `wpctl`, `pipewire`.
|
||||
> More information: <https://pipewire.pages.freedesktop.org/wireplumber/>.
|
||||
|
||||
|
||||
@@ -14,19 +14,19 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Send a WoL packet to a device in another subnet based on its IP:
|
||||
|
||||
`wol --ipaddr={{ip_address}} {{mac_address}}`
|
||||
`wol {{[-i|--ipaddr]}} {{ip_address}} {{mac_address}}`
|
||||
|
||||
- Send a WoL packet to a device in another subnet based on its hostname:
|
||||
|
||||
`wol --host={{hostname}} {{mac_address}}`
|
||||
`wol {{[-h|--host]}} {{hostname}} {{mac_address}}`
|
||||
|
||||
- Send a WoL packet to a specific port on a host:
|
||||
|
||||
`wol --port={{port_number}} {{mac_address}}`
|
||||
`wol {{[-p|--port]}} {{port_number}} {{mac_address}}`
|
||||
|
||||
- Read hardware addresses, IP addresses/hostnames, optional ports and SecureON passwords from a file:
|
||||
|
||||
`wol --file={{path/to/file}}`
|
||||
`wol {{[-f|--file]]} {{path/to/file}}`
|
||||
|
||||
- Turn on verbose output:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user