how to copy the enetire file in a clipboard from a linux file code example Example: copy content file from terminal pbcopy < ~/.ssh/id_rsa.pub