Ravi Sir's Cards › AWS
nohup vs disown
This comparison card contrasts nohup and disown. nohup is described as before starting the job. disown is described as after the job already runs. The card pairs nohup with planned long jobs, and disown with forgot nohup.
Read card text
What this card says
When
nohup
Before starting the job.
disown
After the job already runs.
Key points
Output goes to nohup.out.
Removes job from shell list.
Example
nohup ./import.sh
Use when
Planned long jobs.
Forgot nohup.