mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 10:00:41 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/linux/kinfocenter
Normal file
21
tldr/linux/kinfocenter
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, linux]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# kinfocenter
|
||||||
|
|
||||||
|
> KDE information center to show system information.
|
||||||
|
> More information: <https://manned.org/kinfocenter>.
|
||||||
|
|
||||||
|
- Open the GUI:
|
||||||
|
|
||||||
|
`kinfocenter`
|
||||||
|
|
||||||
|
- List all possible KCM modules for `kinfocenter`:
|
||||||
|
|
||||||
|
`kinfocenter --list`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`kinfocenter {{[-h|--help]}}`
|
||||||
17
tldr/linux/krdpserver
Normal file
17
tldr/linux/krdpserver
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, linux]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# krdpserver
|
||||||
|
|
||||||
|
> Start an RDP server.
|
||||||
|
> More information: <https://invent.kde.org/plasma/krdp#running-the-example-server>.
|
||||||
|
|
||||||
|
- Start an RDP server with a username and password:
|
||||||
|
|
||||||
|
`krdpserver {{[-u|--username]}} {{user_name}} {{[-p|--password]}} {{password}}`
|
||||||
|
|
||||||
|
- Share a specific monitor marked by its index:
|
||||||
|
|
||||||
|
`krdpserver {{[-u|--username]}} {{user_name}} {{[-p|--password]}} {{password}} --monitor {{n}}`
|
||||||
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Display help:
|
- Display help:
|
||||||
|
|
||||||
`kscreen-console --help`
|
`kscreen-console {{[-h|--help]}}`
|
||||||
|
|
||||||
- Display help including Qt specific command-line options:
|
- Display help including Qt specific command-line options:
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Show display output information:
|
- Show display output information:
|
||||||
|
|
||||||
`kscreen-doctor --outputs`
|
`kscreen-doctor {{[-o|--outputs]}}`
|
||||||
|
|
||||||
- Set the rotation of a display output with an ID of 1 to the right:
|
- Set the rotation of a display output with an ID of 1 to the right:
|
||||||
|
|
||||||
|
|||||||
21
tldr/linux/systemsettings
Normal file
21
tldr/linux/systemsettings
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, linux]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# systemsettings
|
||||||
|
|
||||||
|
> KDE central settings program.
|
||||||
|
> More information: <https://manned.org/systemsettings>.
|
||||||
|
|
||||||
|
- Open the settings GUI:
|
||||||
|
|
||||||
|
`systemsettings`
|
||||||
|
|
||||||
|
- List all possible KCM modules for `systemsettings`:
|
||||||
|
|
||||||
|
`systemsettings --list`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`systemsettings {{[-h|--help]}}`
|
||||||
12
tldr/netexec
Normal file
12
tldr/netexec
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# netexec
|
||||||
|
|
||||||
|
> This command is an alias of `nxc`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr nxc`
|
||||||
@@ -11,8 +11,8 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Build a Nix expression:
|
- Build a Nix expression:
|
||||||
|
|
||||||
`nix-build '<nixpkgs>' --attr {{firefox}}`
|
`nix-build '<nixpkgs>' {{[-A|--attr]}} {{firefox}}`
|
||||||
|
|
||||||
- Build a sandboxed Nix expression (on non-NixOS):
|
- Build a sandboxed Nix expression (on non-NixOS):
|
||||||
|
|
||||||
`nix-build '<nixpkgs>' --attr {{firefox}} --option sandbox true`
|
`nix-build '<nixpkgs>' {{[-A|--attr]}} {{firefox}} --option sandbox true`
|
||||||
|
|||||||
@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Delete all store paths unused by current generations of each profile:
|
- Delete all store paths unused by current generations of each profile:
|
||||||
|
|
||||||
`sudo nix-collect-garbage --delete-old`
|
`sudo nix-collect-garbage {{[-d|--delete-old]}}`
|
||||||
|
|
||||||
- Simulate the deletion of old store paths:
|
- Simulate the deletion of old store paths:
|
||||||
|
|
||||||
`sudo nix-collect-garbage --delete-old --dry-run`
|
`sudo nix-collect-garbage {{[-d|--delete-old]}} --dry-run`
|
||||||
|
|
||||||
- Delete all store paths older than 30 days:
|
- Delete all store paths older than 30 days:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# base64
|
# base64
|
||||||
|
|
||||||
> Encode or decode file or `stdin` to/from base64, to `stdout` or another file.
|
> Encode or decode file or `stdin` to/from base64, to `stdout` or another file.
|
||||||
> More information: <https://keith.github.io/xcode-man-pages/base64.1.html>.
|
> More information: <https://keith.github.io/xcode-man-pages/bintrans.1>.
|
||||||
|
|
||||||
- Encode a file to `stdout`:
|
- Encode a file to `stdout`:
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Capture a screenshot of the active window:
|
- Capture a screenshot of the active window:
|
||||||
|
|
||||||
`spectacle --activewindow`
|
`spectacle {{[-a|--activewindow]}}`
|
||||||
|
|
||||||
- Capture a screenshot of a specific region:
|
- Capture a screenshot of a specific region:
|
||||||
|
|
||||||
`spectacle --region`
|
`spectacle {{[-r|--region]}}`
|
||||||
|
|
||||||
|
- Start another Spectacle instance so that you can screenshot Spectacle itself:
|
||||||
|
|
||||||
|
`spectacle {{[-i|--new-instance]}}`
|
||||||
|
|||||||
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- List the allowed (and forbidden) commands for the invoking user:
|
- List the allowed (and forbidden) commands for the invoking user:
|
||||||
|
|
||||||
`sudo {{[-l|--list]}}`
|
`sudo {{[-ll|--list --list]}}`
|
||||||
|
|||||||
@@ -19,3 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
- Send raw text:
|
- Send raw text:
|
||||||
|
|
||||||
`wormhole send`
|
`wormhole send`
|
||||||
|
|
||||||
|
- Send a file with a custom code phrase:
|
||||||
|
|
||||||
|
`wormhole send --code {{custom_code}} {{path/to/file}}`
|
||||||
|
|||||||
Reference in New Issue
Block a user