Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

If I putty a Linux server, and doing some processes (For example, copying files), and when the connection drop, what will happen? Will the copying files continue or it is interrupted?

share|improve this question

marked as duplicate by LawrenceC, Tog, Hennes, Canadian Luke, Dave M Apr 12 '13 at 11:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

If you ssh to a linux server and the connection drops then the process you were running will get a signal to stop. (Usually signal SIGHUP, from the old time you connected via a modem and it hung up).

That means the processes will stop.
(In the same way as things will stop on windows when you log out)

If you do not want them to stop then you can:

  1. Tell the process to ignore the hangup signal.
    Example nohup make bzimage &
  2. Or run the command in screen and detach screen.
  3. Or run the command in tmux.
share|improve this answer

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