Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. -selection
  2. specify which X selection to use, options are:
  3. "primary" to use XA_PRIMARY (default),
  4. "secondary" for XA_SECONDARY
  5. "clipboard" for XA_CLIPBOARD
  6.  
  7. echo "Hello world" | xclip -i selection primary | xclip -i selection clipboard
  8.  
  9. echo "Hello World" | xclip -i -sel p -f | xclip -i -sel c
  10.  
  11. -f, -filter
  12. when xclip is invoked in the in mode with output level set to
  13. silent (the defaults), the filter option will cause xclip to print
  14. the text piped to standard in back to standard out unmodified
  15.  
  16. echo "Hello world" | tee >(xclip -i -selection primary) >(xclip -i -selection clipboard) >/dev/null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement