copy file contents from linux terminal code example Example: copy content file from terminal pbcopy < ~/.ssh/id_rsa.pub