Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did something similar with copy until I found this which works across remote terminals too:

`alias clip="base64 | xargs -0 printf '\e]52;c;%s\007'"`

It just sends it to the client’s terminal clipboard.

`cat thing.txt | clip`



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: