title: How to bring an Orphaned Background Process back to Foreground?
body: <p>Well it goes like this, I had to run a program from my home by <code>ssh</code>ing into the server in my institution. I did not want my program to be terminated when the session closes(I didn't know about <code>screen</code>).  </p>
  
  <p>What i did was press <code>Ctrl+Z</code> and then type <code>bg</code> so that it executes in the background.  
  The session got terminated. Now when I login from my institution machine and type <code>ps -u username</code>, it shows that the program is still running but I'm unable to bring it to foreground.</p>
  
  <p>I tried <code>fg</code> and <code>jobs</code> but these commands don't give me any output.<br>
  Please someone help me..</p>