5 ms·
Screen is a bit like a window manager for consoles. I use it to start multiple (software) servers without daemon mode. I can then switch between their outputs w
by trb 15y ago
Screen is a bit like a window manager for consoles. I use it to start multiple (software) servers without daemon mode. I can then switch between their outputs with screen.
Screen also detaches the console from your ssh session. In my case this means that the servers keep running if I loose my ssh connection to the (hardware) server.
It's a very handy tool and definitely belongs in the articles list of tools.
- yuvadam 15y agoscreen -d -m processName is practically the easiest way to run and daemonize a process.
- icebraining 15y agonohup processName
- iam 15y agoBut then the output goes into a black hole after you close your shell
- eis 15y agoYou can always redirect stdout/stderr to a file, e.g. nohup someapp > someapp.log
- LiveTheDream 15y agoThe output goes into nohup.out automatically.