Kenneth Porter wrote:
Check out the "screen" command. I use that for my game servers. A
typical invocation:
screen -dmS my-game-server script-to-start-game
This creates a detached screen session named "my-game-server" running
the script "script-to-start-game". You can reattach to it later to view
any output. I put this in an initscript so that the game servers start
at boot time.
Yep, I use screen a lot. Unfortunately I use a number of systems which
are running RHEL 3, which has a broken version of screen which doesn't
detach properly, though. Hence using nohup.