tldr/pages/linux/xclip.md

12 lines
160 B
Markdown

# xclip
> Copy STDIN to clipboard or print clipboard to STDOUT.
- Copy output to clipboard:
`echo 123 | xclip -i`
- Paste clipboard:
`xclip -o > file.txt`