Mac 终端命令笔记 拷贝与粘贴 pbcopy < targetfile : 将目标文件 targetfile 里的东西拷贝到剪切板 echo strings > targetfile : 将字符串 strings 添加到目标文件 targetfile 里,默认覆盖里面内容 pbpaste x : 输出剪切板内容到终端