In the past, I've used nohup
to run big background jobs, but I've noticed that a lot of people use screen
in this context. Does screen
provide some kind of functional advantage that I am unaware of, or is it just a matter of preference?
Nohup vs. Screen
gnu-screennohupprocess
Best Answer
Both have their own plusses and minuses:
nohup:
nohup.out
.screen:
@rahmu, I will never guess pid if want to kill it. Be sure before killing someone/something ;) .
Best way in both cases for screen and nohup is:
ps -eaf | grep "nohup" | grep "your proc name/keyword"
.Use screen and check what is running on it.
To conclude, they are two different things made with different agendas, so comparison is difficult.