# GNU screen commands
`GNU screen` commands:
`# Start a new anonymous screen session
screen
# List existing session PIDs
screen -ls
# Attach to a specific session by PID
screen -Dr <PID>
# Attach to one existing session (only if exactly one session exists)
screen -Dr
# Detach (while attached)
Ctrl+a - d
# Split panes (while attached)
Ctrl+a S # horizontal split
Ctrl+a | # vertical split
Ctrl+a Tab # move between panes
`