看起来你想要xclip
。
用法:
xclip -t clipboard somefile
Run Code Online (Sandbox Code Playgroud)
或使用管道的示例:
grep "needle" myfile.txt | xclip -t clipboard
Run Code Online (Sandbox Code Playgroud)
没有-t clipboard
数据将转到PRIMARY selection。
归档时间: |
|
查看次数: |
770 次 |
最近记录: |