Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Or will the run halt along with everything (though maybe partial progress could be made if I use a ">" to print progress so far to a file)

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The process (your "run") will receive a SIGHUP and will likely terminate. Not all programs terminate properly, for example, vi/m. You can run the program with nohup to have the program ignore the SIGHUP signal. For a running program, you can send it to the background with Ctrl+Z then type disown.

You should look into screen(1) or tmux(1). These create sessions with multiple terminal windows and allow you to reattach after being disconnected.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.