nohup: ignoring input and appending output to 'nohup.out'

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

Intelligent Recommendation

Nohup: appending output to 'nohup.out' does not display

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...

CentOs installed and run rocketmq (given ignoring input and appending output to 'nohup.out'; jps: command not found)

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...

FRPS NOHUP: Ignore the input and add the output to "nohup.out"

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...

Linux resolves NOHUP: Ignore the input and add the output to "nohup.out" and nohup: ignore the input redirection error to the standard output

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 ...

Solve nohup: append the output to "nohup.out" or nohup

Excuting an order:         nohup java -jar xxxxxx.jar --server.port=443 & A prompt appears: Solution:  ...

More Recommendation

Solve NOHUP: IGNORING INPUT AND APPUT 'and NOHUP: IGNORING INPUT AND REDIRECTING

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...

Linux Background Running Task Command (NOHUP: Ignore the input and add the output to "nohup.out")

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...

Nohup does not output the nohup.out log information and has been resolved.

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...

How to keep the output file using the nohup command nohup.out

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...

Linux uses nohup to start in the background and does not output nohup.out log files

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. &...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top