nohup
A Unix/Linux command used to run a program while ignoring the hangup signal, so that the process continues executing after the terminal connection is closed. It is commonly used to keep long-running jobs alive after the user logs out.
Timeline (last 90 days)
nohup works by setting SIGHUP to be ignored, so that a background process is not terminated by SIGHUP when the terminal closes.
After nohup or disown, the process is still alive, but its controlling terminal has hung up; reads return EOF and writes return EIO, so interactive input and output are not possible.
The nohup command achieves simple background persistence by making the process ignore the SIGHUP signal.
All Facts (3)
nohup works by setting SIGHUP to be ignored, so that a background process is not terminated by SIGHUP when the terminal closes.
50%UnverifiedAfter nohup or disown, the process is still alive, but its controlling terminal has hung up; reads return EOF and writes return EIO, so interactive input and output are not possible.
50%UnverifiedThe nohup command achieves simple background persistence by making the process ignore the SIGHUP signal.
50%