nohup java -jar xxx.jar &
Prompt nohup: ignoring input and appending output to 'nohup.out'
The correct way: after the nohup is prompted in the shell, you need to press any key on the terminal to return to the shell input command window, and then exit the terminal by typing exit in the shell;
Wrong way: Each time after the nohup execution is successful, simply close the program button to close the terminal. Therefore, the session corresponding to the command will be disconnected at this time, and the process corresponding to nohup is notified that it needs to be shut down together.
Reprinted at: https://www.jianshu.com/p/137ff4055cb2
Recently, you need to make the SpringBoot project into the JAR package, you need to make it run in LINUX, you can use nohup naming, unix / linux, for example, if you want a program to run in the backg...
Install download wget http://archive.apache.org/dist/rocketmq/4.2.0/rocketmq-all-4.2.0-bin-release.zip Decompression unzip rocketmq-all-4.2.0-bin-release.zip -d /usr/local/rocketmq-all-4.2.0-bin-relea...
Errors occur when FRPS starts Error command Correction How is the problem is solved, The command is added later. Where,> is an output redirect symbol,> / dev / null 2> & 1. This command i...
1, direct execution file A prompt: And enter the output result into the default file Nohup.out 2, redirect the standard output content to the file A prompt: The output is output to the specified file ...
Excuting an order: nohup java -jar xxxxxx.jar --server.port=443 & A prompt appears: Solution: ...
one,nohup: ignoring input and appending output to ‘nohup.out’ I read a lot of online introduction, I explain that the use of the NoHUP command runs the program, NOHUP will generate a log f...
For example, there is a task that is executed in the server. This command is hanging, and you can't always hang it. In order not to affect other operations, we execute it background. This is OK. Execu...
The jar package used by springboot used in the recent project is put on the server to run. In order to prevent the program from being closed due to closing the terminal window, nohup and & combina...
2019 Unicorn Enterprises heavily recruiting engineers Python standard >>> The essentialWherein the final >/dev/null 2>&1 A rear portion, / dev / null space is a virtual device (simi...
Nohup means running java commands in the background. >/dev/null means thatStandard informationOutput to a black hole (/dev/null), and speaking human language does not output standard information. &...