Questions tagged [nohup]
The nohup standard utility and the nohup builtin from shells like csh, which cause the SIGHUP signal to be ignored
284 questions
1 vote
0 answers
47 views
How do I recover a lost output file? [duplicate]
I was running a nohup'd badblock scan when I started running another nohup job in the same directory. I was assuming the jobs might mess up each others output, but what happend was (in aftersight no ...
1 vote
1 answer
74 views
Process run with nohup gets killed on client_loop: send disconnect: Broken pipe
I have observed the following and want to understand why: First, I run a Node server that listens on a port on a remote server using: nohup my-app & Next there are two cases: I logout of the ...
0 votes
1 answer
601 views
Systemd kills all background processes after ssh session ends despite all the typical solutions
I have tried almost every solution on Stack Exchange (except for nohup; it seems like that is not an ideal loophole), but Systemd still kills my background processes. I also tried starting a Tmux ...
0 votes
1 answer
181 views
Why is tee stopping in the middle when piped with nohup?
I'm running a script (in a Laravel project) that takes a few hours to complete. nohup to prevent it from exiting if my ssh session is disconnected. nohup php artisan do:thing 2>&1 | tee ~/tmp ...
-1 votes
1 answer
162 views
Can you make nohup.out get created only on errors without manually specifying the file name?
Can you make nohup ./file $1 $2 & (which runs ./file in the background) create nohup.out only for errors and not for standard output? But please without manually specifying nohup.out i.e. nohup ./...
0 votes
1 answer
393 views
How Can I Add Dates To Nohup Log Files Lines
I'm running python on my server. I want to add date and time info to my nohup log file's lines. Log file content similar to what I want to do (inside log file): 09/09/2023 07:13 Traceback (most recent ...
0 votes
0 answers
213 views
Continue running on remote linux server in an conda environment
I am working in a conda environment and want to keep running after my disconnect. Normally, I use nohup for this purpose but is it possible to use nohup in a conda environment? nohup bash program.sh ...
0 votes
1 answer
474 views
nohup process pid not visible in new shell but still in old shell
I open and connect an ssh terminal window shell to my server and run this: nohup sleep 50000 & When I then run ps I see this: PID TTY TIME CMD 1 ? 00:00:00 bash 56 ? ...