tldr/pages/linux/xclip.md

12 lines
160 B
Markdown
Raw Normal View History

2016-01-27 04:41:31 +00:00
# xclip
> Copy STDIN to clipboard or print clipboard to STDOUT.
- Copy output to clipboard:
`echo 123 | xclip -i`
- Paste clipboard:
`xclip -o > file.txt`