Mark Pearl

Basic Use

XClip is intended for linux, for Mac use PBCopy

Copy text to clipboard

cat sometextfile.txt | xclip -selection c

Paste text from clipboard

xclip -o > helloworld.txt


Add the following to alias to default xclip to normal clipboard

alias xclip='xclip -selection c'


Man Page for XClip
XClip - Useful from the command line

blog comments powered by Disqus

Want to get my personal insights on what I learn as I learn it? Subscribe now!