title: Running two node servers from a single shell command using a shell script
body: <p>I have to run two node servers in different port, I want to write a simple shell script that will start both of the servers.</p>
  
  <p>I wrote it like below:</p>
  
  <pre><code>node project/rest.js &amp;&amp; node static-server.js
  </code></pre>
  
  <p>but when I run the commands at a time, it starts the first server and dont execute the second one.</p>
  
  <p>And only the fist server listens for request, second static server doesn't start. And in the shell I do have a output from rest.js.</p>
  
  <p>What I previously did to run tow servers, I run two commands in different shell.</p>
  
  <p>Is there a way I can run both of the server with a single shell script?</p>
  
  <p>Thanks in advance.</p>