I was using rsync to copy 15GB files between servers using putty.
I want to know that if i close putty terminal does that also termiates rync or not because file is not copied properly.
I have tried that when i am doing backups then even if i close putty then scrip continue to run in background
Assuming your goal is to have the rsync command continue to run, the simplest thing is to orphan the job. There are two ways to do this:
The above will create the job detached from your terminal in the beginning, so closing the terminal will not stop it.
The above will disown a running job, so you can close the terminal without stopping it.
Finally, you could use the program
screen(1)or similar to keep a terminal session alive and intact (and able to be resumed) even when you end your Putty session.