title: How to make an Echo server with Bash?
body: <p>How to write a echo server bash script using tools like nc, echo, xargs, etc capable of simultaneously processing requests from multiple clients each with durable connection?</p>
  
  <p>The best that I've came up so far is</p>
  
  <pre><code>nc -l -p 2000 -c 'xargs -n1 echo'
  </code></pre>
  
  <p>but it only allows a single connection.</p>