How can I launch a named Linux screen which executes a script at launch automatically?
So I want to use screen with these 2 conditions.
- The screen session should be named
- The screen session should be able to launch a script automatically inside of it. Let's say script.sh for example. So when the command I'm looking for is executed a screen session launches and the script.sh automatically launches inside the screen session.
Anyone? Please remember both conditions need to be fulfilled.