You already have a running process and you want to put it to run in background.
If you want to be sure that this will still run after you close you ssh connection, what should you do?
Note: you are already running the process at the time you want to make this decision.
I know that Ctrl-Z
and bg
will make it run in background, still I am afraid that the process will be killed when you close the ssh connection.
Best Answer
Just type disown, it is a bash builtin
From the scratch, you will do like this