GNU screen - 4-way split setup

PHOTO EMBED

Wed Sep 07 2022 06:51:12 GMT+0000 (UTC)

Saved by @LavenPillay #bash #linux #screen

split
split -v
focus down
split -v

screen -t bash /bin/bash
screen -t deploy1 /usr/bin/ssh deploy1
screen -t deploy2 /usr/bin/ssh deploy2
screen -t deploy3 /usr/bin/ssh deploy3
screen -t deploy4 /usr/bin/ssh deploy4

focus up
focus left
select 1
focus right
select 2
focus left
focus down
select 3
focus right
select 4
content_copyCOPY

This should be put into a file that's called by using `screen -c <filename>`
https://fordodone.com/2016/02/24/start-screen-session-with-4-way-split-screen/