Keeping a Job Alive After Logout
A long job started in an SSH session dies when the connection drops. Which approach keeps it running?
Choose one answer
Run it in tmux/screen, or as a systemd unit.
tmux
screen
Start it with nice -n 19 so the kernel doesn't stop it when the session closes.
nice -n 19
Redirect its output to /dev/null.
/dev/null
Start it with & at the end of the command line.
&