Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-26 00:18:47 +00:00
parent 9b06c2023f
commit 47db9e503e
127 changed files with 302 additions and 302 deletions

View File

@@ -20,15 +20,15 @@ source: https://github.com/tldr-pages/tldr.git
- Copy the output from a command to the system clipboard, using short notation:
`echo 123 | xclip {{[-se|-selection]}} clip`
`echo 123 | xclip {{[-se|-selection]}} {{[c|clipboard]}}`
- Copy the contents of a file into the system clipboard:
`xclip {{[-se|-selection]}} clip {{input_file.txt}}`
`xclip {{[-se|-selection]}} {{[c|clipboard]}} {{input_file.txt}}`
- Copy the contents of a PNG into the system clipboard (can be pasted in other programs correctly):
`xclip {{[-se|-selection]}} clip {{[-t|-target]}} image/png {{input_file.png}}`
`xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png {{input_file.png}}`
- Copy the user input in the console into the system clipboard:
@@ -40,4 +40,4 @@ source: https://github.com/tldr-pages/tldr.git
- Paste the contents of the system clipboard to the console:
`xclip {{[-o|-out]}} {{[-se|-selection]}} clip`
`xclip {{[-o|-out]}} {{[-se|-selection]}} {{[c|clipboard]}}`