Copy shell script output to clipboard

后端 未结 6 460
灰色年华
灰色年华 2020-12-23 17:09

Is there any easy way to implement the copy to clipboard option from the output of a shell script ?

6条回答
  •  庸人自扰
    2020-12-23 17:27

    With WSL2 and sudo you can use this:

    echo "What so ever..." | /mnt/c/Windows/System32/clip.exe
    

提交回复
热议问题