←back to thread

2039 points Gadiguibou | 2 comments | | HN request time: 0.001s | source
Show context
ExoticPearTree ◴[] No.36492041[source]
pbcopy/pbpaste are a lifesaver when doing stuff on the command line that has a lot of output and piping is not something you can do.

networkQuality is something I really wish I knew about sooner.

replies(1): >>36492117 #
hereonout2 ◴[] No.36492117[source]
Also for things like sharing public ssh keys. Instead of "can you send me your public key" and getting something with random line breaks depending on the users text editor I just have to ask them to "cat ~/.ssh/id_rsa.pub | pbcopy".

I also alias pbcopy / pbpaste on Linux too, so useful!

replies(2): >>36492361 #>>36497313 #
superq ◴[] No.36492361[source]
The random linebreaks are ok - SSH can handle them. (that's how Userify does it I think, too. it replicates whatever the user provides.. no judgment :)
replies(1): >>36496036 #
1. hereonout2 ◴[] No.36496036[source]
Ah, it's more for ~/.ssh/authorized_keys which is one key per line.
replies(1): >>36498204 #
2. superq ◴[] No.36498204[source]
right (authorized_keys ignores blank lines and comments)