Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Forgot to use & after command, need to send process to background

I have been running a program using nohup but I forgot to add & after the command so the terminal is stuck on the process that has been running for hours. the script I am running in python generates 5 processes each time.

Is there anyway I can make the entire script to continue in the background (get the same effect as an &) without killing and rerunning the process.

like image 455
carefullynamed Avatar asked Apr 10 '14 17:04

carefullynamed


1 Answers

Hit Ctrl-Z to suspend the process.

Then bg to tell it to run again as a background process.

like image 169
Karl Barker Avatar answered Sep 20 '22 07:09

Karl Barker