mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 18:55:36 +00:00
Update cheatsheets
This commit is contained in:
41
cb
Normal file
41
cb
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cb
|
||||
|
||||
> Cut, copy, and paste anything in the terminal.
|
||||
> More information: <https://github.com/Slackadays/Clipboard>.
|
||||
|
||||
- Show all clipboards:
|
||||
|
||||
`cb`
|
||||
|
||||
- Copy a file to the clipboard:
|
||||
|
||||
`cb copy {{path/to/file}}`
|
||||
|
||||
- Copy some text to the clipboard:
|
||||
|
||||
`cb copy "{{Some example text}}"`
|
||||
|
||||
- Copy piped data to the clipboard:
|
||||
|
||||
`echo "{{Some example text}}" | cb`
|
||||
|
||||
- Paste clipboard content:
|
||||
|
||||
`cb paste`
|
||||
|
||||
- Pipe out clipboard content:
|
||||
|
||||
`cb | cat`
|
||||
|
||||
- Show clipboard history:
|
||||
|
||||
`cb history`
|
||||
|
||||
- Show clipboard information:
|
||||
|
||||
`cb info`
|
||||
Reference in New Issue
Block a user