mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 03:50:03 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/openrgb
Normal file
25
tldr/openrgb
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# openrgb
|
||||||
|
|
||||||
|
> Control RGB lighting.
|
||||||
|
> More information: <https://gitlab.com/OpenRGBDevelopers/OpenRGB-Wiki/-/blob/stable/User-Documentation/Using-OpenRGB.md>.
|
||||||
|
|
||||||
|
- Start the OpenRGB GUI:
|
||||||
|
|
||||||
|
`openrgb`
|
||||||
|
|
||||||
|
- List devices supported by OpenRGB:
|
||||||
|
|
||||||
|
`openrgb --noautoconnect {{[-l|--list-devices]}}`
|
||||||
|
|
||||||
|
- Set the mode and color of a device:
|
||||||
|
|
||||||
|
`openrgb {{[-m|--mode]}} {{off|static|breathing|rainbow|flashing|...}} {{[-c|--color]}} {{random|red|00AAFF|...}}`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`openrgb {{[-h|--help]}}`
|
||||||
42
tldr/slocate
Normal file
42
tldr/slocate
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# slocate
|
||||||
|
|
||||||
|
> Secure variant of GNU Locate.
|
||||||
|
> See also: `locate`.
|
||||||
|
> More information: <https://manned.org/slocate>.
|
||||||
|
|
||||||
|
- Enable quiet mode to suppress error messages:
|
||||||
|
|
||||||
|
`slocate -q`
|
||||||
|
|
||||||
|
- Limit the number of results shown:
|
||||||
|
|
||||||
|
`slocate -n {{number}}`
|
||||||
|
|
||||||
|
- Build an `slocate` database starting at path `/`:
|
||||||
|
|
||||||
|
`slocate -u`
|
||||||
|
|
||||||
|
- Build an `slocate` database starting at a given directory:
|
||||||
|
|
||||||
|
`slocate -U {{path/to/directory}}`
|
||||||
|
|
||||||
|
- Update an `slocate` database using the default `/etc/updatedb.conf` configuration:
|
||||||
|
|
||||||
|
`slocate -c`
|
||||||
|
|
||||||
|
- Set the security level of `slocate`, with `0` being disabled, and `1` being secure:
|
||||||
|
|
||||||
|
`slocate -l {{0|1}}`
|
||||||
|
|
||||||
|
- Specify the database that `slocate` should search in:
|
||||||
|
|
||||||
|
`slocate {{[-d|--database]}} {{path/to/directory}}`
|
||||||
|
|
||||||
|
- Search the `slocate` database using a specific `regex` string:
|
||||||
|
|
||||||
|
`slocate {{[-r|--regexp]}} {{regex}}`
|
||||||
Reference in New Issue
Block a user