Mac mengirim output terminal ke clipboard

$ cat result.txt | pbcopy
lff