Answer the question
In order to leave comments, you need to log in
How to start and put a process in the background and then display?
The whole thing is unfolding on VDS.
There is a bash script, you need to run it, configure it, and let it work in the background, moreover, I need to exit, and the server will work, the process is in the background.
Then you need to go in and look at the progress, that is, remove the process from the background and manipulate it. How to organize it?
Answer the question
In order to leave comments, you need to log in
Use the wonderful tmux as suggested above. You can also use the Ctrl + Z
signal , which will cause the process to stop and go into the background. In order to resume it, but in the background, as if you started it with the & parameter , you will need to execute the bg command further to return it to the background, or continue in the background: fg
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question