I have a process running on my Linux machine (Debian squeeze) that takes hours (or days) to finish.
I don't want to stop it to restart it again with screen, tmux or with an output redirect to nohup.
Is there a secure way to put it in the background with ^Z and bg so it will continue once I close the ssh-session?
screen,dtach,tmux, etc. as you already note, or with appropriate redirections andnohup. You might be able to^Z,bgit now, but whether that's enough depends on whether it does I/O on the terminal after you background it. – Oct 08 '12 at 14:58