From d79643b3a149788ad89166f594c25a5001b7cda0 Mon Sep 17 00:00:00 2001 From: kjwon15 Date: Wed, 27 Jan 2016 13:41:31 +0900 Subject: [PATCH] xclip: add page --- pages/linux/xclip.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/linux/xclip.md diff --git a/pages/linux/xclip.md b/pages/linux/xclip.md new file mode 100644 index 000000000..dd69f9edd --- /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`