- To start a screen with a named session
screen -S session_name - To detach a screen
ctrl+a d - To attach to a screen
screen -r session_name - To see the list of screens `screen -ls
- To kill a screen
screen -X -S <screen_id> quit - To detach from current screen
screen -d
- To split vertically:
ctrl athen| - To split horizontally:
ctrl athenS - To unsplit:
ctrl athenQ - To switch from one to another:
ctrl athentab - After splitting, you need to go the new region and activate it using
ctrl athenc
For more screen commands, visit this stack exchange post.