title: How could I run a shell script with delay
body: <p>I basically want to run a script which is a server but with 10 second delay, it is because I need some stuff to run before this script.</p>
  
  <p>The server is located in the folder <code>/etc/init.d</code> but basically to make it work I go to that path using the command line and I have to restart the server typing:</p>
  
  <pre><code>sudo ./znodejs.sh stop
  </code></pre>
  
  <p>And then I start the server again:</p>
  
  <pre><code>sudo ./znodejs.sh start
  </code></pre>
  
  <p>I would like to know if there is any way to run those commands with a delay.</p>