Skip to content

Instantly share code, notes, and snippets.

@tibovanheule
Created May 8, 2019 10:57
Show Gist options
  • Save tibovanheule/5a0214e660906c4de831c0606f2b101f to your computer and use it in GitHub Desktop.
Save tibovanheule/5a0214e660906c4de831c0606f2b101f to your computer and use it in GitHub Desktop.
**xclip: Pipe output to the clipboard**
To mouse clipboard
> echo 123 | xclip
For the system clip board,( For virtual box )
> echo 123 | xclip -sel clip
man file of xclip [here](https://linux.die.net/man/1/xclip).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment