copy content of a file from terminal mac code example Example: copy content file from terminal pbcopy < ~/.ssh/id_rsa.pub