diff --git a/pages/linux/xclip.md b/pages/linux/xclip.md new file mode 100644 index 0000000000..dd69f9edd3 --- /dev/null +++ b/pages/linux/xclip.md @@ -0,0 +1,11 @@ +# xclip + +> Copy STDIN to clipboard or print clipboard to STDOUT. + +- Copy output to clipboard: + +`echo 123 | xclip -i` + +- Paste clipboard: + +`xclip -o > file.txt`