title: Linux emacs/nano: how to select all text lines in a larger file and copy
body: <p>I need to copy all text in large log files to clipboard. I have a remote connection to Linux and use the console terminal only. What I want is something like <code>Select all -> Copy</code>.</p>
  
  <p>In emacs I used <code>F10 -> Edit -> Select All, and then F10 again -> Edit -> Copy</code>. But it didn't go to my clipboard, unable to paste it in my local windows instance (which works fine with the content displayed on screen; without scrolling).</p>
  
  <p>Is there a better way in nano or emacs?</p>
  
  <p>Cheers</p>