Clipboard between Mac OS, Centos 64 7

yum install epel-release
yum install xclip

cat somefile.txt | xclip -selection clipboard

In Mac OS use preinstalled pbcopy/pbpaste

cat /etc/passwd | pbcopy

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.