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?


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.
| improve this answer | |

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