Clipboard between Mac OS, Centos 64 7

CentOS
yum install epel-release
yum install xclip

cat somefile.txt | xclip -selection clipboard

In Mac OS use preinstalled pbcopy/pbpaste

cat /etc/passwd | pbcopy

 

http://tedhagos.com/linux/clipboard-copy-paste-terminal.html

Leave a Reply

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