Advertisement
aeldar

Copy to clipboard from shell

Jan 28th, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.10 KB | None | 0 0
  1. # copy content of file into clipboard
  2. cat samples.sh | xclip -sel clip
  3. # or
  4. xclip -sel clip samples.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement