Linux – Screen Function

Summary

Screen is a linux command that allows you to run multiple consoles within one session that persist after an ssh connection disconnects.

Commands

Command Action
screen Starts screen
screen -ls List existing screens
screen -r Re-attach to existing screen (singular)
screen -r id Re-attach to given screen
Ctrl-A ? Shows screen help
Ctrl-A d Detach from current screen
Ctrl-A n Switch to next screen
Ctrl-A c Create new screen
Ctrl-A K Kill current screen

Leave a comment