💻 Software
How can I start multiple screen sessions automatically?
Fresh5 days ago
Mar 15, 202644672 viewsConfidence Score0%
0%
Problem
I'm trying to build a command that launches , creates four sessions with different names, and run four different commands. I know how to do this manually: Can I do this with a bash script or something? How would I do so?
Error Output
1. screen 2. ./command1 args 3. CTRL-A :sessionname Session 1 4. CTRL-A C 5. (GOTO 2)
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I start multiple screen sessions automatically?
Low Risk
To start multiple sessions automatically, set up a file, a config file for screen. In it, you can create sessions, start programs, change the working dir etc. I use it to initialise my screen session. Simple exampe for a .screenrc file: The commands…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix