Check installation/version of screen
screen --version
# enter copy mode to start scrolling ctrl + A + Esc # Set scrollback to 10,000 line buffer ctrl + A + : scrollback 10000
Set default scrollback to 10,000 lines
defscrollback 10000
# View list of available screens screen -list # Show all window ctrl + a + w # View next available screen ctrl + shift + A + N # View previous available screen ctrl + shift + A + P # Start toggler to other windows ## press arrow keys to toggle through the available screens ctrl + A + "
# Start a new session or create new window ctrl + A + C
# Set name on current window ctrl + a + A # Start a new session with name screen -S session_name
# Detach window ctrl + a + d # List detached sessions screen -DR
Reattach a session
# by process_id screen -r process_id # by name screen -r session_name
ctrl + A + K
# create split screen ctrl + a + S # switch between split screens ctrl + a + tab # kill all regions except current ctrl + a + q # remove active window from split screen ctrl + a + x