Linux: xclip,pbcopy,xsel用法 terminal 复制粘帖 (mac , ubuntu)
ubuntu下的用户可以只用apt-get来安装:
- sudo apt-get install xclip
- echo "Hello, world" | xclip
mac下使用pbcopy
命令:
cat myFile.txt | pbcopy
转自: http://justcoding.iteye.com/blog/1829963
ubuntu下的用户可以只用apt-get来安装:
mac下使用pbcopy
命令:
cat myFile.txt | pbcopy
转自: http://justcoding.iteye.com/blog/1829963