title: how to find whether a script run as a nohup finished or not?
body: <p>I tried running a script using nohup like,</p>
  
  <pre><code>nohup script.sh &amp;
  </code></pre>
  
  <p>When I tried </p>
  
  <pre><code>ps -ef | grep "script.sh"
  </code></pre>
  
  <p>I couldn't find it there except for the grep which is being run with that string as a parameter.</p>
  
  <p>Am I doing it right?. Does this mean that the process has indeed finished execution?
  Thanks.</p>