Sometimes you need to put a command in the background and execute, without affecting the input of the command line, and the user will not affect the execution of the process. At this time, you can use the nohup and "&" functions.
The role of Nohup is as its name suggests. It makes the subsequent commands not respond to the SIGHUP signal. That is, after the remote login executes nohup, the program will be executed normally even after logging out. Normally, the nohup command will be followed with "&" character, indicating that the command will be executed in the background, so that this command can be certainly executed in the background.
In the command, the redirecting can also be used to change the output of the program into the wanted file name, such as **nohup bash hello.sh >hello.log &*, then the output of the program will be written to the hello.log file.
If the program does not automatically exit, then use the kill command to kill the process. You can use the command kill -TRM PID_NUMBER to operate, where PID_NUMBER is the value of the previous nohup output, which is 1231 in this example.
If your problem still can not solved, please submit open ticket to us.