Close ssh and leave a job running

 

Using the Job Control of bash to send the process into the background:

  1. ctrl+z to stop (pause) the program and get back to the shell
  2. bg to run it in the background
  3. disown -h so that the process isn’t killed when the terminal closes

nJoy! 😉

 

Leave a Reply

Your email address will not be published. Required fields are marked *