3 ms·
Awesome. I knew about `pbcopy`, but i never knew you could also pipe stuff into it. That saves a lot of time saving script outputs to temporary text files and c
by huskyr 12y ago
Awesome. I knew about `pbcopy`, but i never knew you could also pipe stuff into it. That saves a lot of time saving script outputs to temporary text files and copying!
- Touche 12y agoalias copyssh="cat ~/.ssh/id_rsa.pub | pbcopy"
- theOnliest 12y agoOr without the extraneous cat: "pbcopy < ~/.ssh/id_rsa.pub"
- Touche 12y agoAh yes, thanks, I always forget about <