title: Copy to clipboard using Bash for Windows
body: <p>How do I copy results from the commandline directly to the clipboard?</p>
  
  <p>On Windows's cmd.exe I can do simply <code>echo "asd" | clip</code> and it pipes output to the clipboard.</p>
  
  <p>I tried to install <code>xclip</code> for that, and though it compiled, when called it prints:</p>
  
  <pre><code>Error: Can't open display: (null)
  </code></pre>
  
  <p>Using mouse is not the solution.</p>