Skip to content

Instantly share code, notes, and snippets.

@anoras
Created May 20, 2010 18:56
Show Gist options
  • Select an option

  • Save anoras/407934 to your computer and use it in GitHub Desktop.

Select an option

Save anoras/407934 to your computer and use it in GitHub Desktop.
Anders-Norass-MacBook-Pro:.ssh anders$ which pbcopy
/usr/bin/pbcopy
Anders-Norass-MacBook-Pro:.ssh anders$ cat id_rsa.pub | pbcopy
-bash:  pbcopy: command not found
Anders-Norass-MacBook-Pro:.ssh anders$
@bolav
Copy link

bolav commented May 20, 2010

Skjer det samme hvis du skriver cat id_rsa.pub | /usr/bin/pbcopy ?

@anoras
Copy link
Author

anoras commented May 20, 2010

Det funka når jeg gjorde cat ~/.ssh/id_rsa.pub | pbcopy
Ikke helt sikker hvorfor dette skulle gjøre noen forskjell. Hvilken path jeg sto i hadde ikke noen betydning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment