LinuxCommandLibrary

cb

Cut, copy, and paste anything in the terminal.

TLDR

Show all clipboards

$ cb
copy


Copy a file to the clipboard
$ cb copy [path/to/file]
copy


Copy some text to the clipboard
$ cb copy "[Some example text]"
copy


Copy piped data to the clipboard
$ echo "[Some example text]" | cb
copy


Paste clipboard content
$ cb paste
copy


Pipe out clipboard content
$ cb | cat
copy


Show clipboard history
$ cb history
copy


Show clipboard information
$ cb info
copy

Copied to clipboard