here is another useful small program, not for running daemons but for other admin tasks that shall be continued after you closed putty.
If you want to run a script or program, shutdown putty and continue the session later witout stopping the script, you shall have a look at the "screen" program.
Installation on Debian / ubuntu:
apt-get install screen
To start screen, run the command:
Now you are in a type of virtual console, start your script now. For example the "top" command:
To close the session, press [ctrl] + a + d
Now you are again on your "normal" putty console. It seems as top is not running.
To connect back to your virtual screen console, run this command:
Now you see that top is still running on your server.
Press "q" to stop the top program and then press [ctrl] + a + d to close the screen. If there is no program running in the screen virtual console, it closes completely and cannot be reopened with screen -r again.
For more screen commands, see: