pbcopy < filename

如:

pbcopy < README.md

效果如下:

Shell——Linux/Mac 终端复制文件内容到剪切板

说明:上图中  # gitskills   即README.md 中内容。

 

相关文章: