# example for copying your public key to clipboard cat ~/.ssh/id_rsa.pub | pbcopy
$ cat result.txt | pbcopy