ubuntu下的用户可以只用apt-get来安装:
mac下使用pbcopy命令:
pbcopy
cat myFile.txt | pbcopy
转自: http://justcoding.iteye.com/blog/1829963