I am compiling some code on my Linux machine. And I was using putty to access the Linux machine on my windows laptop.
So now in between I need to close my "windows machine". So, putty session will also close. But I want to continue my compilation.
I am compiling some code on my Linux machine. And I was using putty to access the Linux machine on my windows laptop.
So now in between I need to close my "windows machine". So, putty session will also close. But I want to continue my compilation.
Just type
screen
And you will be inside the 'screen window' Then you can execute your command. If you close putty now, your command will keep running. Next time you log in to the Linux machine, you can execute
screen -r
And continue where you left off.
You can also manually detach the screen session by hitting ctrl+a followed by d