In case you need to put existing running process on the current shell in the background for some reason. Please apply following steps:
example:
# echo "Hello World" ; sleep 100
# run ctrl z keyboard keys together
# bg
# disown -h
# exit
Explanation: Ctrl z will pause the program and will bring you back to the shell, bg command will put the process in background and disown -h will make sure that the process is not killed when you exit the terminal. exit is pretty much self explanatory.
No comments:
Post a Comment