3
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?
3
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?
6
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:
nohup make bzimage &
screen
and detach screen.tmux
.
Related: Will a job put in background continue running after an SSH session is closed? and What happens to running processes when I lose a remote connection to a *nix box?
– slhck – 2013-04-11T06:56:13.447